This commit is contained in:
emmett1
2018-07-23 21:53:40 +08:00
parent cb0389b2db
commit c820635299

View File

@@ -314,6 +314,8 @@ installpkg() {
for i in ${PKG[@]}; do
if [ -f $INDEX_DIR/$i/.pkginfo ]; then
echo "Package '$i' already installed."
elif [ ! $(getportpath $i) ]; then
echo "Package '$i' not found."
else
IPKG+=($i)
fi