This commit is contained in:
Charlie Root 2021-04-18 12:31:28 -07:00
parent 666071e35d
commit 5c9a260aa5
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ if [ "$JAILUSER" != "X" ]; then
fi fi
if ! (($JAILSRC)); then if ! (($JAILSRC)); then
echo "removing /usr/src files ..." echo "removing /usr/src files ... Ignore failure of removing . and .."
iocage exec $JAIL "rm -rf /usr/src/* ; rm -f /usr/src/.*" iocage exec $JAIL "rm -rf /usr/src/* ; rm -f /usr/src/.*"
iocage exec $JAIL "[ -f /mnt/config/freebsd-update.conf ] && cp /mnt/config/freebsd-update.conf /etc/ || cp /mnt/common/freebsd-update.conf /etc/" iocage exec $JAIL "[ -f /mnt/config/freebsd-update.conf ] && cp /mnt/config/freebsd-update.conf /etc/ || cp /mnt/common/freebsd-update.conf /etc/"
fi fi