summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/lh_system_host_update
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-02-13 21:18:16 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-02-13 21:18:16 (GMT)
commitb8f425e3dff10f18eb019157bbf553074e3fcc51 (patch)
tree00e57217183b1470580d42354a9048b8f81751e2 /abs/core/LinHES-system/lh_system_host_update
parent8565905f38cc3c1f59c1bcc4bec9e3ac21a39313 (diff)
downloadlinhes_pkgbuild-b8f425e3dff10f18eb019157bbf553074e3fcc51.zip
linhes_pkgbuild-b8f425e3dff10f18eb019157bbf553074e3fcc51.tar.gz
linhes_pkgbuild-b8f425e3dff10f18eb019157bbf553074e3fcc51.tar.bz2
LinHES-system: lh_system_host_update: add Notify option that calls linhes_update.sh. refs #959
linhes_update.sh: add -s option to silence OSD. Add sed to show and hide message in LH theme. linhes_update2.sh: add sed to hide message in LH theme.
Diffstat (limited to 'abs/core/LinHES-system/lh_system_host_update')
-rw-r--r--abs/core/LinHES-system/lh_system_host_update13
1 files changed, 9 insertions, 4 deletions
diff --git a/abs/core/LinHES-system/lh_system_host_update b/abs/core/LinHES-system/lh_system_host_update
index ca6aeff..0a63e0a 100644
--- a/abs/core/LinHES-system/lh_system_host_update
+++ b/abs/core/LinHES-system/lh_system_host_update
@@ -37,17 +37,22 @@ case $Hostupdateplan in
echo "$pkg is up to date"
fi
done
- ;;
+ ;;
"All")
- echo ""
+ echo ""
echo "Updating ALL packages"
pacman -Sy
pacman --noconfirm -Su --force
- ;;
+ ;;
"None")
echo ""
echo "Updating NO packages"
- ;;
+ ;;
+ "Notify")
+ echo ""
+ echo "Notify if there are updates"
+ /usr/LH/bin/linhes_update.sh -s
+ ;;
*) echo ""
echo "Unknown $Hostupdateplan, skipping updates"
;;