mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-27 20:31:26 +00:00
Addin Egnyte script and updating Pacman to cleanup
This commit is contained in:
parent
0ffbcd5e68
commit
28707860e9
3
Egnyte/pathToEgnyte.sh
Executable file
3
Egnyte/pathToEgnyte.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
cpboard=$(xsel -b)
|
||||||
|
cpboard=$(echo "$cpboard" | sed -e 's/\\/\//g' -e 's/Z:\//https:\/\/oxo.egnyte.com\/app\/index.do#storage\/files\/1\//')
|
||||||
|
chromium "$cpboard"
|
@ -12,7 +12,7 @@ check_pkgversion() {
|
|||||||
echo
|
echo
|
||||||
echo Updating with Pacman...
|
echo Updating with Pacman...
|
||||||
echo
|
echo
|
||||||
echo "$sudoPass" | sudo -S pacman -Syu --color always
|
echo "$sudoPass" | sudo -S pacman -Syu --color always && sudo pacman-mirrors -g
|
||||||
echo
|
echo
|
||||||
aurpkgs=$(pacman -Qm | awk '{print $1}')
|
aurpkgs=$(pacman -Qm | awk '{print $1}')
|
||||||
for line in $aurpkgs
|
for line in $aurpkgs
|
||||||
@ -22,5 +22,5 @@ do
|
|||||||
source ~/aur.sh "$line" "$sudoPass"
|
source ~/aur.sh "$line" "$sudoPass"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo "$sudoPass" | yes | (sudo -S pacman -Sc --color always)
|
echo "$sudoPass" | yes | (sudo -S pacman -Rns $(pacman -Qtdq) --color always)
|
||||||
notify-send "Update script has finished!"
|
notify-send "Update script has finished!"
|
||||||
|
Loading…
Reference in New Issue
Block a user