This commit is contained in:
Charlie Root 2021-04-18 12:31:28 -07:00
parent 666071e35d
commit 5c9a260aa5

View File

@ -164,7 +164,7 @@ if [ "$JAILUSER" != "X" ]; then
fi
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 "[ -f /mnt/config/freebsd-update.conf ] && cp /mnt/config/freebsd-update.conf /etc/ || cp /mnt/common/freebsd-update.conf /etc/"
fi