X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=misc%2Ftools%2Frsync-updater%2Fupdate-to-release.sh;fp=misc%2Ftools%2Frsync-updater%2Fupdate-to-release.sh;h=294af5d7815879e27a16bafd8fdd62cbc9aa6c51;hp=b0d429dd2d6fd5c3bd20ba89936ea0e0076cf098;hb=3d56c28c850dfe456298965b8f50cba8bfc468a5;hpb=6bc44ce2a31997897c575e920f57284a061d0099 diff --git a/misc/tools/rsync-updater/update-to-release.sh b/misc/tools/rsync-updater/update-to-release.sh index b0d429dd..294af5d7 100755 --- a/misc/tools/rsync-updater/update-to-release.sh +++ b/misc/tools/rsync-updater/update-to-release.sh @@ -9,6 +9,13 @@ if ! which rsync >/dev/null; then exit 1 fi +read -rp "This script will DELETE any custom files in the Xonotic folder. Do you want to continue [Y/N]?" choice +case "$choice" in + Y) ;; + y) ;; + *) exit 1 ;; +esac + case "${0##*/}" in update-to-autobuild.sh) buildtype=autobuild