When orig.tar.bz2 doesn't exist, just create it without asking

This commit is contained in:
Isaac Connor 2021-12-14 09:39:29 -05:00
parent cfcc39defb
commit 4c351a6c54
1 changed files with 2 additions and 0 deletions

View File

@ -223,6 +223,8 @@ if [ -e "$DIRECTORY.orig.tar.gz" ]; then
if [[ "$REPLY" == "" || "$REPLY" == [yY] ]]; then
tar zcf $DIRECTORY.orig.tar.gz $DIRECTORY.orig
fi;
else
tar zcf $DIRECTORY.orig.tar.gz $DIRECTORY.orig
fi;
IFS=',' ;for DISTRO in `echo "$DISTROS"`; do