diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-02-13 21:18:16 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-02-13 21:18:16 (GMT) |
commit | b8f425e3dff10f18eb019157bbf553074e3fcc51 (patch) | |
tree | 00e57217183b1470580d42354a9048b8f81751e2 /abs/core/LinHES-system/lh_system_host_update | |
parent | 8565905f38cc3c1f59c1bcc4bec9e3ac21a39313 (diff) | |
download | linhes_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_update | 13 |
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" ;; |