TyOS-Local-Scripts/update_scriptbase

10 lines
315 B
Bash

#!/usr/bin/env bash
echo "> Moving to /usr/local/bin"
cd /usr/local/bin
echo "> Pulling Changes from 'https://git.tyleo.dev/TyleoDvDelaware3217/TyOS-Local-Scripts' repos"
sudo git reset --hard HEAD
sudo git clean -f -d
sudo git pull
echo "> Applying Execution Autorisation to *_*"
sudo chmod +x /usr/local/bin/*_*