summaryrefslogtreecommitdiff
path: root/libalpine.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'libalpine.sh.in')
-rw-r--r--libalpine.sh.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/libalpine.sh.in b/libalpine.sh.in
index edfeeb0..cbd87c5 100644
--- a/libalpine.sh.in
+++ b/libalpine.sh.in
@@ -52,10 +52,12 @@ init_tmpdir() {
}
pkg_inst() {
+ eecho "warning: pkg_inst is deprecated. Use 'apk add -q' in script"
[ -z "$NOCOMMIT" ] && apk add -q $*
}
pkg_deinst() {
+ eecho "warning: pkg_deinst is deprecated. Use 'apk del -q' in script"
[ -z "$NOCOMMIT" ] && apk del -q $*
}