Housekeeping resotre had a extra line and a change to restore process
This commit is contained in:
parent
d74929f654
commit
227c83867c
4 changed files with 17 additions and 3 deletions
|
@ -73,7 +73,7 @@ function copy_config() {
|
|||
dpkg --get-selections > $tmpdir/installed_packages
|
||||
cp ./restore.deb.bash $tmpdir/restore.bash
|
||||
#apt list --installed | grep ',local]' | awk -F/ '{print $1}' >> $tmpdir/exclusions
|
||||
apt list --installed | grep -q ',local]' && apt list --installed | grep ',local]' | awk -F/ '{print $1}' >> "$tmpdir/exclusions"
|
||||
apt list --installed | grep ',local]' | awk -F/ '{print $1}' >> "$tmpdir/exclusions" # best way to do this
|
||||
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue