Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
icinga-checks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
icinga-checks
Commits
6540458b
Commit
6540458b
authored
2 years ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update package function names
parent
6cd526a7
Branches
Branches containing commit
No related tags found
1 merge request
!21
update package function names
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
check_packages2install
+1
-1
1 addition, 1 deletion
check_packages2install
check_packages2install-pkgmanager/pamac.sh
+1
-1
1 addition, 1 deletion
check_packages2install-pkgmanager/pamac.sh
check_packages2install-pkgmanager/yum.sh
+1
-1
1 addition, 1 deletion
check_packages2install-pkgmanager/yum.sh
with
3 additions
and
3 deletions
check_packages2install
+
1
−
1
View file @
6540458b
...
@@ -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
}
.
G
etUpdates
)
packagemanOut
=
$(
${
pkgmanager
}
.
g
etUpdates
)
if
[
-z
"
$packagemanOut
"
]
;
then
if
[
-z
"
$packagemanOut
"
]
;
then
ph.setStatus
"critical"
ph.setStatus
"critical"
...
...
This diff is collapsed.
Click to expand it.
check_packages2install-pkgmanager/pamac.sh
+
1
−
1
View file @
6540458b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# command to list of updates
# command to list of updates
function
pamac.
G
etUpdates
(){
function
pamac.
g
etUpdates
(){
pamac checkupdates
pamac checkupdates
}
}
...
...
This diff is collapsed.
Click to expand it.
check_packages2install-pkgmanager/yum.sh
+
1
−
1
View file @
6540458b
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# command to list of updates
# command to list of updates
function
yum.
G
etUpdates
(){
function
yum.
g
etUpdates
(){
sudo
/usr/bin/yum
-y
check-update
sudo
/usr/bin/yum
-y
check-update
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment