ellie-bash-installer/e-rebuild.sh
2024-06-25 22:22:09 +12:00

15 lines
No EOL
301 B
Bash

#!/bin/sh
root=$(pwd)
# remove old backup
rm -rf elliebot_old 1>/dev/null 2>&1
# make a new backup
cp -rT elliebot elliebot_old 1>/dev/null 2>&1
wget -q -N https://toastielab.dev/Emotions-stuff/ellie-bash-installer/raw/branch/v5/rebuild.sh
bash rebuild.sh
cd "$root"
rm "$root/e-rebuild.sh"
exit 0