Update chroot_scripts/4-uninstall-rem-lists.sh
This commit is contained in:
parent
58e5daa286
commit
5e667cc38c
@ -12,11 +12,9 @@ do
|
||||
do
|
||||
if [[ $pkg != "#"* ]]
|
||||
then
|
||||
echo $pkg >> /chroot_scripts/rem_list
|
||||
apt-get purge --yes --option Dpkg::Options::="--force-confnew" --option Dpkg::Options::="--force-overwrite" $pkg || true
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
apt-get purge --yes --option Dpkg::Options::="--force-confnew" --option Dpkg::Options::="--force-overwrite" $(cat /chroot_scripts/rem_list | tr "\n" " ") || true
|
||||
|
||||
|
||||
apt-get autoremove --yes --option Dpkg::Options::="--force-confnew" --option Dpkg::Options::="--force-overwrite"
|
Loading…
Reference in New Issue
Block a user