Commit 31930d24 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch '5419-update-check-packages2install' into 'master'

update package function names

See merge request !21
parents 5c9420f0 6540458b
......@@ -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
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment