Skip to content

Commit 2201a81

Browse files
committed
Fix the bug
1 parent 6916e03 commit 2201a81

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

update.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ do
3131
echo " "
3232
if [ "$answer" != "${answer#[Yy]}" ]; then
3333
mv /var/www/html/wizwizxui-timebot/baseInfo.php /root/
34-
mv /var/www/html/wizwizxui-timebot/settings/botstate.json /root/
3534
echo -e "\n\e[92mUpdating ...\033[0m\n"
3635
sleep 4
3736
rm -r /var/www/html/wizwizxui-timebot/
@@ -42,7 +41,6 @@ do
4241
sudo chmod -R 755 /var/www/html/wizwizxui-timebot/
4342
sleep 3
4443
mv /root/baseInfo.php /var/www/html/wizwizxui-timebot/
45-
mv /root/botstate.json /var/www/html/wizwizxui-timebot/settings
4644
if [ $? -ne 0 ]; then
4745
echo -e "\n\e[41mError: The update failed!\033[0m\n"
4846
exit 1

0 commit comments

Comments
 (0)