summaryrefslogtreecommitdiffstats
path: root/ship/lib/punani
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-11-14 13:54:03 +0100
committertv <tv@nomic.retiolum>2013-11-14 13:54:03 +0100
commitfc4ac74b1e9cc40d27fd3e6bcfe67e0cb06469d2 (patch)
treee55562ee5dc418d9907f365bb8c8faedd67640a6 /ship/lib/punani
parent78fa9ac0fa2ee8af9787b5f9ea14f6fbb0df24d1 (diff)
ship punani: mv {,_}_punani_resolve_package
Diffstat (limited to 'ship/lib/punani')
-rw-r--r--ship/lib/punani6
1 files changed, 3 insertions, 3 deletions
diff --git a/ship/lib/punani b/ship/lib/punani
index 72be0351..18a78b4d 100644
--- a/ship/lib/punani
+++ b/ship/lib/punani
@@ -13,7 +13,7 @@ punani(){
fi
for PKG; do
- RES="`_punani_resolve_package $PKG`" ||
+ RES="`__punani_resolve_package $PKG`" ||
die "could not resolve '$PKG'; no punani for you!"
case "$ACTION" in
@@ -60,8 +60,8 @@ _punani_remove() {
eval "_punani_${PACKER}_remove \"\$1\""
}
-## usage: _punani_resolve_package PKGNAME
-_punani_resolve_package(){
+## usage: __punani_resolve_package PKGNAME
+__punani_resolve_package(){
eval "set -u; echo \"\${_punanidb_${PACKER}_$1}\"" 2>/dev/null
}