diff options
author | obrien <obrien@FreeBSD.org> | 2003-08-19 23:23:27 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-08-19 23:23:27 +0000 |
commit | f266bbb14145e1ad62c832513a76a485035a0e13 (patch) | |
tree | b91d7ee3da15d2a3a2c144bb9473f42bfd8c440d /usr.sbin/sade/install.c | |
parent | 6e1b7649c8c3561f3a350d01bd1186dc6abf64b5 (diff) | |
download | FreeBSD-src-f266bbb14145e1ad62c832513a76a485035a0e13.zip FreeBSD-src-f266bbb14145e1ad62c832513a76a485035a0e13.tar.gz |
Remove the vestiges of the old pre-"X_AS_PKG" way we used to handled the
installing XFree86 (version 3.3.6 and before).
Reviewed by: jhb
Diffstat (limited to 'usr.sbin/sade/install.c')
-rw-r--r-- | usr.sbin/sade/install.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index 036d8c5..6d28171 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -853,29 +853,6 @@ installFixupBase(dialogMenuItem *self) return DITEM_SUCCESS | DITEM_RESTORE; } -#ifndef X_AS_PKG -/* Fix side-effects from the the XFree86 installation */ -int -installFixupXFree(dialogMenuItem *self) -{ - /* BOGON #1: XFree86 requires various specialized fixups */ - if (directory_exists("/usr/X11R6")) { - dialog_clear_norefresh(); - msgNotify("Fixing permissions in XFree86 tree.."); - vsystem("chmod -R a+r /usr/X11R6"); - vsystem("find /usr/X11R6 -type d | xargs chmod a+x"); - - /* Also do bogus minimal package registration so ports don't whine */ - if (file_readable("/usr/X11R6/lib/X11/pkgreg.tar.gz")) { - dialog_clear_norefresh(); - msgNotify("Installing package metainfo.."); - vsystem("tar xpzf /usr/X11R6/lib/X11/pkgreg.tar.gz -C / && rm /usr/X11R6/lib/X11/pkgreg.tar.gz"); - } - } - return DITEM_SUCCESS | DITEM_RESTORE; -} -#endif - #define QUEUE_YES 1 #define QUEUE_NO 0 static int |