add full path /sbin for removepkg and upgradepkg; fixes Issue 65

This commit is contained in:
chess.griffin 2013-12-09 02:21:58 +00:00
parent 885076e024
commit a798ef037b

View File

@ -528,7 +528,7 @@ list_packages() {
20 65 13 \
--file $CONFIRM_LIST 2> $REMOVE_LIST
if [[ $? == 0 ]]; then
removepkg $(cat $REMOVE_LIST)
/sbin/removepkg $(cat $REMOVE_LIST)
mk_pkg_lists
read -n1 -ep "Press any key to continue: "
fi
@ -3326,7 +3326,7 @@ install_package() {
grep -m1 "^$OLDNAME-[^-]*-[^-]*-[^-]*$REPO_TAG$"); then
OLDPKG=$INSTPKG
fi
upgradepkg --reinstall --install-new $OLDPKG%$INSTDIR/$INSTPKG
/sbin/upgradepkg --reinstall --install-new $OLDPKG%$INSTDIR/$INSTPKG
echo "Done upgrading/installing package."
}