diff options
author | Britney Fransen <brfransen@gmail.com> | 2023-07-12 19:34:33 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2023-07-12 19:34:33 (GMT) |
commit | a8ef698e407c6fd1997b2fcad8e064a97be233b7 (patch) | |
tree | 028499ffc55e604e9f6410f4fd7ff69efd7b9c0f | |
parent | 1a350607d1eabf06f185f841db03ffb2f7c698cf (diff) | |
download | linhes_pkgbuild-a8ef698e407c6fd1997b2fcad8e064a97be233b7.zip linhes_pkgbuild-a8ef698e407c6fd1997b2fcad8e064a97be233b7.tar.gz linhes_pkgbuild-a8ef698e407c6fd1997b2fcad8e064a97be233b7.tar.bz2 |
linhes-system: lh_restart_needed.sh: add message for reboot
-rwxr-xr-x | linhes/linhes-system/PKGBUILD | 4 | ||||
-rwxr-xr-x | linhes/linhes-system/lh_restart_needed.sh | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/linhes/linhes-system/PKGBUILD b/linhes/linhes-system/PKGBUILD index 1ee44f6..72dbd80 100755 --- a/linhes/linhes-system/PKGBUILD +++ b/linhes/linhes-system/PKGBUILD @@ -1,6 +1,6 @@ pkgname=linhes-system pkgver=9.0.0 -pkgrel=62 +pkgrel=63 arch=('x86_64') #install=$pkgname.install pkgdesc="Everything that makes LinHES a system" @@ -42,7 +42,7 @@ sha256sums=('525bfe29b63d3ec5a17a32fa29745e24070020490c3f5b6dd6b03250348fb324' '91bdec992bb2c933e15625c181f2195c402060b879168ebf35944cb064c904b9' '5cacfdd02833e5a3130d765573e772e6bd5030336ba86239c5e4db5ffa36fc69' 'd51253c207d3315997d7122cb774c6d0fc38975c33e66bf416f0b1b95cf86e5b' - 'a6c1118b1b3cf663a382caf817bc88e2e3c2d9d57dc17b1696bbb2b71baaa8b1' + '52eef974c7e530d60799ee2b2c67cedc3e0c4d58948f021a609c20cfedd2056e' 'ebdb3ee0212e0cc72526bb5e50a032573e1894acb7bf75617243b0b49aa1f8f2' 'cd3306991c8b63f5402c0e52405cc1a6581cb3c42af74b7c2f879c8192f95610' 'e371c6a289c68fe200d7da856c20a8c579efa23178f4d62235f7359d7f6e49a1' diff --git a/linhes/linhes-system/lh_restart_needed.sh b/linhes/linhes-system/lh_restart_needed.sh index c939a28..2db8a2d 100755 --- a/linhes/linhes-system/lh_restart_needed.sh +++ b/linhes/linhes-system/lh_restart_needed.sh @@ -32,4 +32,8 @@ if [[ $active_kernel != $current_kernel ]]; then echo "# KERNEL: reboot required" rc=0 fi + +if [[ $rc == 1 ]]; then + echo "No reboot needed." +fi exit $rc |