We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6916e03 commit 2201a81Copy full SHA for 2201a81
update.sh
@@ -31,7 +31,6 @@ do
31
echo " "
32
if [ "$answer" != "${answer#[Yy]}" ]; then
33
mv /var/www/html/wizwizxui-timebot/baseInfo.php /root/
34
- mv /var/www/html/wizwizxui-timebot/settings/botstate.json /root/
35
echo -e "\n\e[92mUpdating ...\033[0m\n"
36
sleep 4
37
rm -r /var/www/html/wizwizxui-timebot/
@@ -42,7 +41,6 @@ do
42
41
sudo chmod -R 755 /var/www/html/wizwizxui-timebot/
43
sleep 3
44
mv /root/baseInfo.php /var/www/html/wizwizxui-timebot/
45
- mv /root/botstate.json /var/www/html/wizwizxui-timebot/settings
46
if [ $? -ne 0 ]; then
47
echo -e "\n\e[41mError: The update failed!\033[0m\n"
48
exit 1
0 commit comments