mirror of
https://github.com/captbaritone/webamp.git
synced 2026-11-08 01:48:14 -10:00
15 lines
236 B
Bash
Executable File
15 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!"
|