update_phanpy.sh 296 B

123456
  1. #!/bin/bash
  2. cd $HOME
  3. wget https://github.com/cheeaun/phanpy/releases/latest/download/phanpy-dist.zip
  4. unzip phanpy-dist.zip -d phanpy
  5. lftp -c "set ssl:verify-certificate no; open ftp://[REDACTED]; mirror -Rev phanpy/ [REMOTE]/ --only-newer --parallel=10 -X .htaccess"
  6. rm -r phanpy/ phanpy-dist.zip