Update
This commit is contained in:
parent
b0a8a1b684
commit
423d8d64e6
|
@ -8,6 +8,9 @@ else
|
|||
echo "USER IS ROOT"
|
||||
fi
|
||||
|
||||
ping -c 1 1.1.1.1 > /dev/null
|
||||
have_internet="$?"
|
||||
|
||||
# sleep 1
|
||||
|
||||
cd "/root"
|
||||
|
@ -22,21 +25,24 @@ pkill haveged
|
|||
pacman-key --populate archlinux melawy-linux endeavouros arcolinux chaotic cachyos
|
||||
|
||||
pacman-key --lsign-key melawy-linux
|
||||
pacman-key --lsign-key endeavouros
|
||||
pacman-key --lsign-key cachyos
|
||||
pacman-key --lsign-key arcolinux
|
||||
pacman-key --lsign-key chaotic
|
||||
pacman-key --lsign-key cachyos
|
||||
pacman-key --lsign-key endeavouros
|
||||
|
||||
pacman-key --recv-keys valeria@fadeeva.me --keyserver hkps://keys.openpgp.org
|
||||
pacman-key --lsign-key valeria@fadeeva.me
|
||||
if [ "$have_internet" -eq 0 ]; then
|
||||
pacman-key --recv-keys valeria@fadeeva.me --keyserver hkps://keys.openpgp.org
|
||||
pacman-key --lsign-key valeria@fadeeva.me
|
||||
|
||||
pacman-key --recv-keys key@fadeeva.me --keyserver hkps://keys.openpgp.org
|
||||
pacman-key --lsign-key key@fadeeva.me
|
||||
pacman-key --recv-keys key@fadeeva.me --keyserver hkps://keys.openpgp.org
|
||||
pacman-key --lsign-key key@fadeeva.me
|
||||
fi
|
||||
|
||||
pacman-key --updatedb
|
||||
|
||||
pacman -Syy
|
||||
|
||||
if [ "$have_internet" -eq 0 ]; then
|
||||
pacman -Syy
|
||||
fi
|
||||
|
||||
title="Successed!"
|
||||
msg="$(date '+%Y.%m.%d %H:%M:%S')"
|
||||
|
|
Loading…
Reference in New Issue