ellie-bash-installer/e-rebuild.sh

15 lines
No EOL
303 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/main/rebuild.sh
bash rebuild.sh
cd "$root"
rm "$root/e-rebuild.sh"
exit 0