upgrade.sh 784 B

1234567891011121314151617181920212223242526272829
  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. #rsync -apv --delete /opt/LibreLight/git/LibreLightASP/ /opt/LibreLight/ASP/
  14. rsync -apv --delete /opt/LibreLight/git/ASP/ /opt/LibreLight/ASP/
  15. pwd
  16. ls -l
  17. cd /opt/LibreLight/git/
  18. rm -rf LibreLight
  19. rm -rf Xdesk
  20. pwd
  21. ls -l
  22. #git clone https://github.com/micox4356/LibreLight.git
  23. git clone https://gogs.librelight.de/librelight/Xdesk.git
  24. #rsync -apv --delete /opt/LibreLight/git/LibreLight/ /opt/LibreLight/Xdesk/
  25. rsync -apv --delete /opt/LibreLight/git/Xdesk/ /opt/LibreLight/Xdesk/
  26. pwd
  27. ls -l
  28. read -p -t 1