upgrade.sh 813 B

1234567891011121314151617181920212223242526272829303132
  1. set -e
  2. echo "upgrade LibreLight from git master ?"
  3. echo " press enter to run"
  4. #read -p -t $Xa
  5. x=read
  6. cd /opt/LibreLight/git/
  7. pwd
  8. ls -l
  9. rm -rf LibreLightASP
  10. rm -rf ASP
  11. #git clone https://github.com/micox4356/LibreLightASP.git
  12. git clone https://gogs.librelight.de/librelight/ASP.git
  13. git remote -v
  14. #rsync -apv --delete /opt/LibreLight/git/LibreLightASP/ /opt/LibreLight/ASP/
  15. rsync -apv --delete /opt/LibreLight/git/ASP/ /opt/LibreLight/ASP/
  16. pwd
  17. ls -l
  18. cd /opt/LibreLight/git/
  19. rm -rf LibreLight
  20. rm -rf Xdesk
  21. pwd
  22. ls -l
  23. #git clone https://github.com/micox4356/LibreLight.git
  24. git clone https://gogs.librelight.de/librelight/Xdesk.git
  25. git remote -v
  26. #rsync -apv --delete /opt/LibreLight/git/LibreLight/ /opt/LibreLight/Xdesk/
  27. rsync -apv --delete /opt/LibreLight/git/Xdesk/ /opt/LibreLight/Xdesk/
  28. pwd
  29. ls -l
  30. read -p -t 1