Include /usr/libexec in the list of upgrade targets by chflags'ing it first.
This commit is contained in:
parent
34ae9210dd
commit
46fed58ae1
@ -282,7 +282,7 @@ installUpgrade(dialogMenuItem *self)
|
||||
}
|
||||
|
||||
msgNotify("chflags'ing old binaries - please wait.");
|
||||
(void)vsystem("chflags -R noschg /bin /sbin /usr/sbin /usr/bin /usr/lib /kernel*");
|
||||
(void)vsystem("chflags -R noschg /bin /sbin /usr/sbin /usr/bin /usr/lib /usr/libexec /kernel*");
|
||||
|
||||
if (file_readable("/kernel")) {
|
||||
msgNotify("Moving old kernel to /kernel.prev");
|
||||
|
@ -282,7 +282,7 @@ installUpgrade(dialogMenuItem *self)
|
||||
}
|
||||
|
||||
msgNotify("chflags'ing old binaries - please wait.");
|
||||
(void)vsystem("chflags -R noschg /bin /sbin /usr/sbin /usr/bin /usr/lib /kernel*");
|
||||
(void)vsystem("chflags -R noschg /bin /sbin /usr/sbin /usr/bin /usr/lib /usr/libexec /kernel*");
|
||||
|
||||
if (file_readable("/kernel")) {
|
||||
msgNotify("Moving old kernel to /kernel.prev");
|
||||
|
Loading…
x
Reference in New Issue
Block a user