Add simple package manager for void
j3s j3s@c3f.net
Sat, 28 Dec 2019 17:32:51 -0600
1 files changed,
21 insertions(+),
0 deletions(-)
jump to
A
bin/vpm
@@ -0,0 +1,21 @@
+#!/bin/sh + +case $1 in + install) + xbps-install -S "$2" + ;; + remove) + xbps-remove -Rn "$2" + ;; + clean) + xbps-remove -Oo + ;; + update) + xbps-install -Suv + ;; + search) + xbps-query -v -Rs "$2" + ;; + *) + echo 'command not found' +esac