This commit is contained in:
emmett1
2018-08-06 22:13:02 +08:00
parent c0a739d90b
commit 282cda789f

View File

@@ -448,9 +448,10 @@ installpkg() {
echo "Package '$ii' already installed."
elif [ ! $(getportpath $ii) ]; then
echo "Package '$ii' not found."
exit 1
else
pushd $(getportpath $ii)
pkgbuild -i ${OPTS[@]}
pkgbuild -i ${OPTS[@]} || exit 1
popd
fi
done