mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-03-20 03:13:05 +00:00
fix scratch install -d option
This commit is contained in:
6
scratch
6
scratch
@@ -609,9 +609,9 @@ installpkg() {
|
||||
for ii in ${PKGNAME[@]}; do
|
||||
if [ ! $(getportpath $ii) ]; then
|
||||
echo "Package '$ii' not found."
|
||||
elif ! isinstalled $ii; then
|
||||
echo "Package '$ii' not installed."
|
||||
return 1
|
||||
elif isinstalled $ii; then
|
||||
echo "Package '$ii' already installed."
|
||||
return 0
|
||||
else
|
||||
pushd $(getportpath $ii)
|
||||
pkgbuild -i --no-hook ${OPTS[@]}
|
||||
|
||||
Reference in New Issue
Block a user