diff --git a/utils/do_debian_package.sh b/utils/do_debian_package.sh index 691fb530d..2a4dd6989 100755 --- a/utils/do_debian_package.sh +++ b/utils/do_debian_package.sh @@ -230,9 +230,13 @@ rm .gitignore cd ../ -if [ ! -e "$DIRECTORY.orig.tar.gz" ]; then +if [ !-e "$DIRECTORY.orig.tar.gz" ]; then +read -p "$DIRECTORY.orig.tar.gz does not exist, create it? [Y/n]" + if [[ $REPLY == [yY] ]]; then + tar zcf $DIRECTORY.orig.tar.gz $DIRECTORY.orig fi; +fi; IFS=',' ;for DISTRO in `echo "$DISTROS"`; do echo "Generating package for $DISTRO"; @@ -358,7 +362,7 @@ EOF dput="Y"; if [ "$INTERACTIVE" != "no" ]; then read -p "Ready to dput $SC to $PPA ? Y/n..."; - if [[ "$REPLY" == [yY] ]]; then + if [[ "$REPLY" == "" || "$REPLY" == [yY] ]]; then dput $PPA $SC fi; else