alpha
Login
or
Join now
j3s.sh
/
dotfiles
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
my dotz
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
Add simple package manager for void
author
j3s
date
6 years ago
(Dec 28, 2019, 5:32 PM -0600)
commit
be6276aa
be6276aa72bcf641b05f84c0a8555ac847fba8c5
parent
f680aa0c
f680aa0cfbbb0dc3fb936acb465f30ecf362005f
+21
1 changed file
Expand all
Collapse all
Unified
Split
bin
vpm
+21
bin/vpm
Reviewed
···
1
1
+
#!/bin/sh
2
2
+
3
3
+
case $1 in
4
4
+
install)
5
5
+
xbps-install -S "$2"
6
6
+
;;
7
7
+
remove)
8
8
+
xbps-remove -Rn "$2"
9
9
+
;;
10
10
+
clean)
11
11
+
xbps-remove -Oo
12
12
+
;;
13
13
+
update)
14
14
+
xbps-install -Suv
15
15
+
;;
16
16
+
search)
17
17
+
xbps-query -v -Rs "$2"
18
18
+
;;
19
19
+
*)
20
20
+
echo 'command not found'
21
21
+
esac