next gen init
This commit is contained in:
parent
84872dc103
commit
a16479ee7a
40 changed files with 239 additions and 894 deletions
19
distros/alpine/pm.sh
Normal file
19
distros/alpine/pm.sh
Normal file
|
@ -0,0 +1,19 @@
|
|||
cmd="apk"
|
||||
while getopts "icru" opt; do
|
||||
case $opt in
|
||||
i)
|
||||
cmd="$cmd add"
|
||||
;;
|
||||
u)
|
||||
cmd="$cmd add"
|
||||
r)
|
||||
cmd="$cmd remove"
|
||||
;;
|
||||
c)
|
||||
cmd="$cmd info -q"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
shift $((OPTIND-1))
|
||||
|
||||
$cmd $@
|
Loading…
Add table
Add a link
Reference in a new issue