bug fix attempts
This commit is contained in:
parent
3447eabd1b
commit
af0ad90b3b
4 changed files with 11587 additions and 2 deletions
|
@ -56,7 +56,9 @@ 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
|
||||
#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"
|
||||
|
||||
fi
|
||||
|
||||
if [ "$osp" = "Arch" ]; then
|
||||
|
@ -101,10 +103,14 @@ function menu_option_two() {
|
|||
}
|
||||
|
||||
function cleanup() {
|
||||
if [ $? -ne 0 ]; then
|
||||
cprint 1 "Something exploded and program aborted"
|
||||
fi
|
||||
cprint 2 "Cleaning up..."
|
||||
sleep 1
|
||||
rm -rf $tmpdir
|
||||
rm -rf $arcdir
|
||||
|
||||
}
|
||||
|
||||
until [ "$selection" = "0" ]; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue