update_soapbox_local.sh 336 B

123456
  1. #!/bin/bash
  2. web_path=""
  3. curl -L https://dl.soapbox.pub/main/soapbox.zip -o "$web_path/soapbox.zip"
  4. unzip "$web_path/soapbox.zip" -d "$web_path/soapbox"
  5. rsync -avh --delete --exclude=".htaccess" --exclude="favicon.ico" --exclude="robots.txt" "$web_path/soapbox/" "$web_path/public_html"
  6. rm -r "$web_path/soapbox.zip" "$web_path/soapbox"