ellie-bash-installer/e-rebuild.sh

15 lines
303 B
Bash
Raw Normal View History

2024-06-25 01:48:12 -07:00
#!/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/main/rebuild.sh
bash rebuild.sh
cd "$root"
rm "$root/n-rebuild.sh"
exit 0