aboutsummaryrefslogtreecommitdiff
path: root/lib/util/pkg.bash
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/pkg.bash')
-rw-r--r--lib/util/pkg.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/util/pkg.bash b/lib/util/pkg.bash
index 618ce6a..de70f78 100644
--- a/lib/util/pkg.bash
+++ b/lib/util/pkg.bash
@@ -6,12 +6,12 @@ pkg() {
local action=$1 ; shift
local pkg
- pkg="$(config "pkg.$1")" ; shift
+ pkg="$(config "pkg.$1")"
if [[ -z $pkg ]]
then
- crit "$system" "No package name for $pkg"
- return 1
+ warn "$system" "No explicit package name for $1"
+ pkg="$1"
fi
if [[ "$(type -t "pkg_$action")" != "function" ]]