diff --git a/source/package_assaultcube.sh b/source/package_assaultcube.sh index c06fa7fd..c4b12ba0 100644 --- a/source/package_assaultcube.sh +++ b/source/package_assaultcube.sh @@ -34,6 +34,9 @@ read DUMMY echo "\033[1mDid you strip symbols when compiling?\033[0m" echo " * If so, press ENTER to continue, otherwise press ctrl+c to exit." read DUMMY +echo "\033[1mIs the versioning in assaultcube.sh and install.sh correct?\033[0m" +echo " * If so, press ENTER to continue, otherwise press ctrl+c to exit." +read DUMMY echo "\033[1mHave you checked all 4 variables in this script are set correctly?\033[0m" echo " * The packages created by this script will be saved to this folder:\n $SAVETARBALLPATH" echo " * The absolute-path to your AssaultCube directory is set as:\n $PATHTOACDIR" @@ -147,12 +150,13 @@ echo "Please wait: Cleaning out some crufty files..." cd $PATHTOACDIR/source/enet && make distclean cd ../src && make clean cd ../../config && rm -f init.cfg killmessages.cfg saved.cfg servers.cfg -# Though tutorial no longer exists, leave this code as-is, -# in case it's added again in future... +# Leave tutorial code here, just in case of future use: cd .. && rm -f `(find ./demos/* -type f | grep -v "tutorial_demo.dmo")` rm -f ./bin_unix/native_* rm -f ./packages/maps/*.cgz rm -f ./screenshots/* +# Delete gedit backups: +find . -type f -name "*~" -delete # Copy docs over: echo "Copied documentation into the main folder..."