From 6540458b025d1830c1a81d4d23d7cc567f102cac Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Tue, 7 Jun 2022 10:06:38 +0200 Subject: [PATCH] update package function names --- check_packages2install | 2 +- check_packages2install-pkgmanager/pamac.sh | 2 +- check_packages2install-pkgmanager/yum.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/check_packages2install b/check_packages2install index cce6b7b..f093cae 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 b5f039f..5915ce2 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 829abe6..137021e 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 } -- GitLab