diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-21 20:13:58 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-21 20:13:58 +0100 |
commit | 0ca8a4bd9f99027d4cca05e2d6f9a09ff99b919b (patch) | |
tree | 3e539c0bc976b946a6d1559abdb13ffb2c64d653 /libalpine.sh.in | |
parent | 9aaf844e2be6c8cf338f68182c7e297755315073 (diff) | |
download | alpine-conf-0ca8a4bd9f99027d4cca05e2d6f9a09ff99b919b.zip |
libalpine: warn about deprecated pkg_inst/deinst
Diffstat (limited to 'libalpine.sh.in')
-rw-r--r-- | libalpine.sh.in | 2 |
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 $* } |