added automatic exclusion of packages installed manually for debian
This commit is contained in:
parent
b7f394a0e8
commit
989e79c1f9
2 changed files with 18435 additions and 0 deletions
18434
restore.run
Executable file
18434
restore.run
Executable file
File diff suppressed because it is too large
Load diff
|
@ -56,6 +56,7 @@ function copy_config() {
|
|||
if [ "$osp" = "Debian" ]; then
|
||||
dpkg --get-selections > $tmpdir/installed_packages
|
||||
cp ./restore.deb.bash $tmpdir/restore.bash
|
||||
apt list --installed | grep ',local]' | awk -F/ '{print $1}' >> $tmpdir/exclusions
|
||||
fi
|
||||
|
||||
if [ "$osp" = "Arch" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue