mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 18:25:30 +00:00
14 lines
236 B
Bash
Executable file
14 lines
236 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Bail on errors
|
|
set -e
|
|
|
|
echo "Reverting..."
|
|
|
|
cd /var/www/jordaneldredge.com/
|
|
|
|
PREVIOUS=$(readlink -f repos/previous)
|
|
echo "Rolling back to $PREVIOUS"
|
|
ln -snf $PREVIOUS public_html/projects/winamp2-js
|
|
|
|
echo "Done!"
|