summaryrefslogtreecommitdiffstats
path: root/libalpine.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libalpine.sh')
-rwxr-xr-xlibalpine.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/libalpine.sh b/libalpine.sh
index 871459f..8b68bd7 100755
--- a/libalpine.sh
+++ b/libalpine.sh
@@ -35,6 +35,10 @@ pkg_inst() {
[ -z "$NOCOMMIT" ] && apk_add $*
}
+pkg_deinst() {
+ [ -z "$NOCOMMIT" ] && apk_delete $*
+}
+
default_read() {
local n
read n