Skip to content
Snippets Groups Projects
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
No related branches found
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