Skip to content
Snippets Groups Projects
Commit 6f4cd078 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

packages2install: do nut use subshell for check*

parent 92a8b240
No related branches found
No related tags found
No related merge requests found
...@@ -236,15 +236,15 @@ typeset -i iCriticalLimit=` ph.getValueWithParam 200 c "$@"` ...@@ -236,15 +236,15 @@ typeset -i iCriticalLimit=` ph.getValueWithParam 200 c "$@"`
pgkman=$( detectPkgManager ) pgkman=$( detectPkgManager )
case $pgkman in case $pgkman in
"apt") "apt")
pkgstatus=$( checkApt ) checkApt
pkgsum=$( pkgApt ) pkgsum=$( pkgApt )
;; ;;
"pamac") "pamac")
pkgstatus="" # pkgstatus=""
pkgsum=$( pkgPamac ) pkgsum=$( pkgPamac )
;; ;;
"yum") "yum")
pkgstatus=$( checkYum ) checkYum
pkgsum=$( pkgYum ) pkgsum=$( pkgYum )
;; ;;
*) *)
...@@ -252,7 +252,7 @@ case $pgkman in ...@@ -252,7 +252,7 @@ case $pgkman in
;; ;;
esac esac
echo "$pkgstatus" # echo "$pkgstatus"
echo echo
showAutoupdate showAutoupdate
echo echo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment