13 lines
470 B
Bash
Executable File
13 lines
470 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# apply the result of 001_apt-get-selections.sh from the livecd (install your prefered programs beforehand)
|
|
## Restore:
|
|
dpkg --set-selections < /var/tmp/packages.list
|
|
debconf-set-selections /var/tmp/debconf-settings.list
|
|
update-alternatives --set-selections < /var/tmp/alternatives-settings.list
|
|
|
|
apt-mark -f=/var/tmp/pkgs_auto.lst auto
|
|
apt-mark -f=/var/tmp/pkgs_manual.lst manual
|
|
apt-mark -f=/var/tmp/pkgs_hold.lst hold
|
|
|
|
apt-get autoremove
|