rootfsinstall.sh: don't fail if removing packages fails (assuming because they are missing)
This commit is contained in:
parent
25e73d71a2
commit
31e7177127
@ -375,10 +375,7 @@ if [ "$INSTALLPACKAGES" -a "$LOCALONLY" != "1" ]; then
|
||||
fi
|
||||
|
||||
if [ "$REMOVEPACKAGES" ]; then
|
||||
chroot $ROOTMP smart remove -y $REMOVEPACKAGES || {
|
||||
echo "ERROR: error running chroot command 'smart remove $REMOVEPACKAGES'; aborting."
|
||||
exit 1
|
||||
}
|
||||
chroot $ROOTMP smart remove -y $REMOVEPACKAGES || true
|
||||
fi
|
||||
|
||||
KERNELDEST=`echo $KERNELDEST | sed "s|@BOOT@|$BOOTMP|g"`
|
||||
|
Loading…
Reference in New Issue
Block a user