added automatic exclusion of packages installed manually for debian

This commit is contained in:
kake26 2024-01-22 13:57:18 -06:00
parent b7f394a0e8
commit 989e79c1f9
2 changed files with 18435 additions and 0 deletions

18434
restore.run Executable file

File diff suppressed because it is too large Load diff

View file

@ -56,6 +56,7 @@ function copy_config() {
if [ "$osp" = "Debian" ]; then if [ "$osp" = "Debian" ]; then
dpkg --get-selections > $tmpdir/installed_packages dpkg --get-selections > $tmpdir/installed_packages
cp ./restore.deb.bash $tmpdir/restore.bash cp ./restore.deb.bash $tmpdir/restore.bash
apt list --installed | grep ',local]' | awk -F/ '{print $1}' >> $tmpdir/exclusions
fi fi
if [ "$osp" = "Arch" ]; then if [ "$osp" = "Arch" ]; then