Explorar o código

更新 'coffeesystem.sh'

fatwolf %!s(int64=2) %!d(string=hai) anos
pai
achega
57394f2a8b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      coffeesystem.sh

+ 2 - 2
coffeesystem.sh

@@ -114,7 +114,7 @@ cd /home/使用者;pwd;git clone http://60.250.156.230:3000/fatwolf/gogsfile.git
 username=使用者;sudo echo 'gogs = "sudo /home/'$username'/gogs/./gogs web"'>>/etc/proc-wdtd.conf
 cd /home/使用者;pwd;sudo git clone http://60.250.156.230:3000/Automatic_build_system/git_mysql.git /home/使用者/gitsqlfile/
 mysql -u root -pGold@53743001 < "/home/使用者/gitsqlfile/git.sql";
-sudo rm -rf /home/使用者/gitsqlfile/git.sql
+sudo rm -rf /home/使用者/gitsqlfile/
 cd /home/使用者;pwd;sudo git clone -b git_repo --single-branch http://60.250.156.230:3000/Automatic_build_system/git_mysql.git /home/使用者/gitmysql/
 cd /home/使用者/git_mysql/;pwd;sudo mv /home/使用者/gitmysql/gogs.tar.gz /home/使用者/;sudo mv /home/使用者/gitmysql/repo.tar.gz /home/使用者/
 cd /home/使用者;pwd;sudo tar -zxvf /home/使用者/gogs.tar.gz;sudo tar -zxvf /home/使用者/repo.tar.gz ;sudo mv /home/使用者/gitmysql/app.ini /home/使用者/gogs/custom/conf/
@@ -138,7 +138,7 @@ echo "Git Server done"
 #Item6 Python packegs Library
 step6_t1=$(date +"%S")
 cd /home/使用者;pwd;git clone -b package --single-branch http://60.250.156.230:3000/Automatic_build_system/Automatically_install_files.git;cd Automatically_install_files/;pwd;sudo pip3 install -r requirements.txt
-sudo rm -rf Automatically_install_files/
+sudo rm -rf /home/使用者/Automatically_install_files/
 
 step6_t2=$(date +"%S")
 echo 'Item6 Python packegs Library 安裝時間:' $((step6_t2-step6_t1)) '秒' >>/home/使用者/test.log