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 328611e commit 8407917Copy full SHA for 8407917
update.sh
@@ -31,11 +31,14 @@ do
31
echo " "
32
if [ "$answer" != "${answer#[Yy]}" ]; then
33
echo -e "\n\e[92mUpdating ...\033[0m\n"
34
- sleep 1
35
- git config --global --add safe.directory /var/www/html/wizwizxui-timebot
+ mv /var/www/html/wizwizxui-timebot/baseInfo.php /root/
+ sleep 2
36
+# git config --global --add safe.directory /var/www/html/wizwizxui-timebot
37
cd /var/www/html/wizwizxui-timebot
- git pull
38
-
+# git pull
39
+ git stash
40
+ sleep 1
41
+ mv /root/baseInfo.php /var/www/html/wizwizxui-timebot/
42
if [ $? -ne 0 ]; then
43
echo -e "\n\e[41mError: The update failed!\033[0m\n"
44
exit 1
0 commit comments