autopush by david@ghost
This commit is contained in:
parent
e004fa9ed6
commit
ed13014838
|
@ -147,7 +147,7 @@ update()
|
||||||
#
|
#
|
||||||
|
|
||||||
#checking for system
|
#checking for system
|
||||||
systems="ubuntu arch solus raspbian"
|
systems="ubuntu arch solus raspbian antergos"
|
||||||
issue="$(cat /etc/issue)"
|
issue="$(cat /etc/issue)"
|
||||||
for item in $systems; do
|
for item in $systems; do
|
||||||
echo $issue | grep -i $item >> /dev/null
|
echo $issue | grep -i $item >> /dev/null
|
||||||
|
@ -167,7 +167,7 @@ update()
|
||||||
sudo apt-get update && sudo apt-get dist-upgrade
|
sudo apt-get update && sudo apt-get dist-upgrade
|
||||||
;;
|
;;
|
||||||
|
|
||||||
arch)
|
arch|antergos)
|
||||||
echo "Updating Arch Linux.."
|
echo "Updating Arch Linux.."
|
||||||
sudo pacman -Syu
|
sudo pacman -Syu
|
||||||
;;
|
;;
|
||||||
|
|
Reference in New Issue