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

update package function names

parent 6cd526a7
Branches
No related tags found
1 merge request!21update package function names
...@@ -230,7 +230,7 @@ fi ...@@ -230,7 +230,7 @@ fi
# load functions for the detected package manager # load functions for the detected package manager
. "${dir_pkg}/${pkgmanager}.sh" || exit 2 . "${dir_pkg}/${pkgmanager}.sh" || exit 2
packagemanOut=$( ${pkgmanager}.GetUpdates ) packagemanOut=$( ${pkgmanager}.getUpdates )
if [ -z "$packagemanOut" ]; then if [ -z "$packagemanOut" ]; then
ph.setStatus "critical" ph.setStatus "critical"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# --------------------------------------------------------------- # ---------------------------------------------------------------
# command to list of updates # command to list of updates
function pamac.GetUpdates(){ function pamac.getUpdates(){
pamac checkupdates pamac checkupdates
} }
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
# --------------------------------------------------------------- # ---------------------------------------------------------------
# command to list of updates # command to list of updates
function yum.GetUpdates(){ function yum.getUpdates(){
sudo /usr/bin/yum -y check-update sudo /usr/bin/yum -y check-update
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment