save names of installed packages

This commit is contained in:
Robin Kloppe 2017-07-20 00:43:14 +02:00 committed by GitHub
parent 446750ff75
commit 3128ae3e21

View file

@ -87,6 +87,9 @@ if [ $ip6tables = true ]; then
$IP6TABLESEXEC > "$temp/ip6tables" $IP6TABLESEXEC > "$temp/ip6tables"
fi fi
# save names of installed packages
dpkg --get-selections | awk '!/deinstall|purge|hold/ {print $1}' > "$temp/packages.list"
### Backup ### Backup
if [ $ALGO ]; then if [ $ALGO ]; then