no ping and other tweaks

This commit is contained in:
Luke Smith
2021-09-24 09:50:24 -04:00
parent 5caaa489ac
commit 60e6128754
3 changed files with 15 additions and 10 deletions

View File

@@ -2,8 +2,6 @@
# Syncs repositories and downloads updates, meant to be run as a cronjob.
ping -q -c 1 example.org > /dev/null || exit
notify-send "📦 Repository Sync" "Checking for package updates..."
sudo pacman -Syyuw --noconfirm || notify-send "Error downloading updates.