rootfsinstall: silence removal of packages so that it does not seem an error if they are not present

This commit is contained in:
Silvan Calarco 2017-09-07 10:16:38 +02:00
parent 8a0563b019
commit c62ab88a37

View File

@ -376,7 +376,7 @@ if [ "$INSTALLPACKAGES" -a "$LOCALONLY" != "1" ]; then
fi fi
if [ "$REMOVEPACKAGES" ]; then if [ "$REMOVEPACKAGES" ]; then
chroot $ROOTMP smart remove -y $REMOVEPACKAGES || true chroot $ROOTMP smart remove -y $REMOVEPACKAGES 2>/dev/null || true
fi fi
KERNELDEST=`echo $KERNELDEST | sed "s|@BOOT@|$BOOTMP|g"` KERNELDEST=`echo $KERNELDEST | sed "s|@BOOT@|$BOOTMP|g"`