add separate option for nonfree packages
Former-commit-id: 1fc8377d529f2ad1efad1d234240b8cc5593ecbc Former-commit-id: 9dd3426c68d3c21a9dea616ca7644fde79079796
This commit is contained in:
parent
4c8bef171f
commit
f603d63d37
11
vpu.sh
11
vpu.sh
@ -182,9 +182,18 @@ case "${1}" in
|
||||
adminCmd="sudo"
|
||||
printf "${YELLOW}Setting admin command to 'sudo'...${NC}\n"
|
||||
fi
|
||||
${adminCmd} xbps-install -R ${repoPath}/hostdir/binpkgs/nonfree ${package}
|
||||
${adminCmd} xbps-install -R ${repoPath}/hostdir/binpkgs ${package}
|
||||
;;
|
||||
|
||||
-ib|ib)
|
||||
${repoPath}/xbps-src pkg ${package}
|
||||
if [ -f /usr/bin/sudo ];then
|
||||
adminCmd="sudo"
|
||||
printf "${YELLOW}Setting admin command to 'sudo'...${NC}\n"
|
||||
fi
|
||||
${adminCmd} xbps-install -R ${repoPath}/hostdir/binpkgs/nonfree ${package}
|
||||
;;
|
||||
|
||||
check | -ck | ck)
|
||||
checkSetup
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user