diff --git a/check_packages2install b/check_packages2install index cce6b7bc174b8aecd380d0c3aa2c4f1f604360ed..f093cae91a4e594d77d7444f0df8985b701ad3b1 100755 --- a/check_packages2install +++ b/check_packages2install @@ -230,7 +230,7 @@ fi # load functions for the detected package manager . "${dir_pkg}/${pkgmanager}.sh" || exit 2 -packagemanOut=$( ${pkgmanager}.GetUpdates ) +packagemanOut=$( ${pkgmanager}.getUpdates ) if [ -z "$packagemanOut" ]; then ph.setStatus "critical" diff --git a/check_packages2install-pkgmanager/pamac.sh b/check_packages2install-pkgmanager/pamac.sh index b5f039f4a4291330f637ced3a518582650235238..5915ce2c62479f000edea1aa7644b0af9693a108 100644 --- a/check_packages2install-pkgmanager/pamac.sh +++ b/check_packages2install-pkgmanager/pamac.sh @@ -14,7 +14,7 @@ # --------------------------------------------------------------- # command to list of updates -function pamac.GetUpdates(){ +function pamac.getUpdates(){ pamac checkupdates } diff --git a/check_packages2install-pkgmanager/yum.sh b/check_packages2install-pkgmanager/yum.sh index 829abe63f1fdedf2264f375666b1f01483dfb4a0..137021e1608a3bed4531abc854d4e82c17233340 100644 --- a/check_packages2install-pkgmanager/yum.sh +++ b/check_packages2install-pkgmanager/yum.sh @@ -16,7 +16,7 @@ # --------------------------------------------------------------- # command to list of updates -function yum.GetUpdates(){ +function yum.getUpdates(){ sudo /usr/bin/yum -y check-update }