Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Upgrade Sendy Version (
#!/usr/bin/env bash
# Enter your license key below
curl -O -J -L '${license_key}'
filename=$(basename -- sendy-*.zip)
echo ${newdir}
unzip ${filename}
mv sendy ${newdir}
rm ${filename}
# Copy over files from current to new install
cp -pr ./html/includes/config.php ./${newdir}/includes
cp -pr ./html/.htaccess ./${newdir}
cp -prf ./html/uploads ./${newdir}
# Deploy
rm html && ln -s ${newdir} html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment