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
No related branches found
No related tags found
1 merge request!21update package function names
This commit is part of merge request !21. Comments created here will be created in the context of that merge request.
......@@ -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"
......
......@@ -14,7 +14,7 @@
# ---------------------------------------------------------------
# command to list of updates
function pamac.GetUpdates(){
function pamac.getUpdates(){
pamac checkupdates
}
......
......@@ -16,7 +16,7 @@
# ---------------------------------------------------------------
# command to list of updates
function yum.GetUpdates(){
function yum.getUpdates(){
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