11 lines
No EOL
429 B
Bash
11 lines
No EOL
429 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 find /usr/local/bin -type f -name "[a-z]*" -exec chmod +x {} \;
|
|
sudo find /usr/local/bin/flatpacks -type f -name "[a-z]*" -exec chmod +x {} \; |