diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2022-11-02 22:21:53 +0100 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2022-11-02 22:21:53 +0100 |
commit | 98da0fa1869757734610ec34fbeb0396f26c0026 (patch) | |
tree | b0aeaa30a96f27bccfc4b463861b1fd476155d43 | |
parent | 852a96b3cf69bb80773f926921c9d3f6b0101faf (diff) |
Putting the first scripts in a bin/ folder
-rwxr-xr-x | bin/backup_usb32.sh (renamed from backup_usb32.sh) | 0 | ||||
-rwxr-xr-x | bin/number-of-pr-in (renamed from number-of-pr-in) | 0 | ||||
-rwxr-xr-x | bin/update-everything.sh (renamed from update-everything.sh) | 13 | ||||
-rwxr-xr-x | bin/update-script-repo.sh | 7 |
4 files changed, 8 insertions, 12 deletions
diff --git a/backup_usb32.sh b/bin/backup_usb32.sh index 8008480..8008480 100755 --- a/backup_usb32.sh +++ b/bin/backup_usb32.sh diff --git a/number-of-pr-in b/bin/number-of-pr-in index a32e4b5..a32e4b5 100755 --- a/number-of-pr-in +++ b/bin/number-of-pr-in diff --git a/update-everything.sh b/bin/update-everything.sh index 6f2109e..f38d4cf 100755 --- a/update-everything.sh +++ b/bin/update-everything.sh @@ -40,11 +40,6 @@ remote_update(){ echo_n_notify "remote update" -# ssh -p8022 debian@adjutor.xyz '\ -# sudo apt-fast update && \ -# sudo apt-fast upgrade && \ -# sudo apt-fast autoremove' - ansible-playbook --inventory-file "$HOME/workbench/ansible/hosts" \ "$HOME/workbench/ansible/update_adjutor.yml" @@ -80,13 +75,7 @@ pip_update(){ } -# ___ ___ ___ _____ _ _ -# | \/ | / _ \|_ _|| \ | | -# | . . |/ /_\ \ | | | \| | -# | |\/| || _ | | | | . ` | -# | | | || | | |_| |_ | |\ | -# \_| |_/\_| |_/\___/ \_| \_/ -# +# MAIN local_update remote_update diff --git a/bin/update-script-repo.sh b/bin/update-script-repo.sh new file mode 100755 index 0000000..2edf308 --- /dev/null +++ b/bin/update-script-repo.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# Author : Clyhtsuriva + +SCRIPTS_REPO_PATH="$HOME/workbench/scripts/" + +cp -rv "$HOME/.local/usr/local/bin" "$SCRIPTS_REPO_PATH" +cp -rv "$HOME/workbench/auto-void-packages" "$SCRIPTS_REPO_PATH" |