update_mangane.sh 318 B

123456
  1. #!/bin/bash
  2. cd $HOME
  3. curl -L https://github.com/BDX-town/Mangane/releases/latest/download/static.zip -o mangane.zip
  4. unzip mangane.zip
  5. lftp -c "set ssl:verify-certificate no; open ftp://[REDACTED]; mirror -Rev dist/ [REMOTE]/ --only-newer --parallel=10 -X .htaccess -X favicon.ico -X robots.txt"
  6. rm -r dist/ mangane.zip