diff --git a/push_script_to.sh b/push_script_to.sh index df24f25..c2ec636 100644 --- a/push_script_to.sh +++ b/push_script_to.sh @@ -48,6 +48,13 @@ do echo Making it executable... sudo chmod +x "$dest$(basename "$1")" + elif [ "$i" == "root_scripts" ]; then + dest="/usr/local/bin/" + echo Copying to "$dest"... + sudo cp "$1" "$dest" + echo Making it executable... + sudo chmod +x "$dest$(basename "$1")" + else echo "Unrecognized destination: $i" fi done \ No newline at end of file