Commit 0ca8a4bd authored by Natanael Copa's avatar Natanael Copa

libalpine: warn about deprecated pkg_inst/deinst

parent 9aaf844e
......@@ -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 $*
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment