Add /lib and /libexec to the list of directories that have the schg

flag removed prior to an upgrade.

Approved by:	ru (mentor)
MFC after:	4 days
This commit is contained in:
Ceri Davies 2006-11-11 10:38:10 +00:00
parent cd852a2996
commit c615ed418d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164170

View File

@ -297,7 +297,7 @@ installUpgrade(dialogMenuItem *self)
}
msgNotify("chflags'ing old binaries - please wait.");
(void)vsystem("chflags -R noschg /bin /sbin /usr/sbin /usr/bin /usr/lib /usr/libexec /var/empty /boot/kernel*");
(void)vsystem("chflags -R noschg /bin /sbin /lib /libexec /usr/bin /usr/sbin /usr/lib /usr/libexec /var/empty /boot/kernel*");
if (directory_exists("/boot/kernel")) {
msgNotify("Moving old kernel to /boot/kernel.prev");