Tabling user prompt for now

This commit is contained in:
DarkFeather 2019-05-17 17:56:03 -05:00
parent fc5156f436
commit 47582d77e3
1 changed files with 8 additions and 8 deletions

View File

@ -9,14 +9,14 @@
# #
# Author: DarkFeather <darkfeather@aninix.net> # Author: DarkFeather <darkfeather@aninix.net>
seconds=10 # seconds=10
echo "This will sync your /etc files with the AniNIX defaults and add the AniNIX # echo "This will sync your /etc files with the AniNIX defaults and add the AniNIX
GPG key for pacman." # GPG key for pacman."
echo "Proceeding in $seconds seconds. Is this OK? [YES/no] " # echo "Proceeding in $seconds seconds. Is this OK? [YES/no] "
timeout $seconds cat | read answer # timeout $seconds cat | read answer
if [[ "${answer,,}" =~ ^n ]]; then # if [[ "${answer,,}" =~ ^n ]]; then
exit 0; # exit 0;
fi # fi
rsync -avz /opt/aninix/ShadowArch/etc/ /etc/ rsync -avz /opt/aninix/ShadowArch/etc/ /etc/
keyid=D9DC5933A1B0D4F7 keyid=D9DC5933A1B0D4F7