Missed a couple spots for audible prompt.

This commit is contained in:
Storm Dragon 2023-08-19 12:48:51 -04:00
parent cea6ad9988
commit 2dc2f72e22

View File

@ -32,13 +32,13 @@ if ping -qc1 -W 1 stormux.org &> /dev/null; then
date_time=$(curl -s http://worldtimeapi.org/api/ip | grep -oP '(?<="datetime":")[^"]*') date_time=$(curl -s http://worldtimeapi.org/api/ip | grep -oP '(?<="datetime":")[^"]*')
echo "Current date and time: $date_time" echo "Current date and time: $date_time"
# set date and time # set date and time
sudo date -s "$date_time" sudo -A date -s "$date_time"
else else
echo "Please connect to the internet and run ${0##*/} again." echo "Please connect to the internet and run ${0##*/} again."
exit 1 exit 1
fi fi
echo "Installing configure-stormux..." echo "Installing configure-stormux..."
sudo git -C /opt clone -q https://git.stormux.org/storm/configure-stormux || exit 1 sudo -A git -C /opt clone -q https://git.stormux.org/storm/configure-stormux || exit 1
fi fi
pushd /opt/configure-stormux pushd /opt/configure-stormux