mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-16 07:47:55 +01:00
add full path /sbin for removepkg and upgradepkg; fixes Issue 65
This commit is contained in:
parent
885076e024
commit
a798ef037b
1 changed files with 2 additions and 2 deletions
|
@ -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."
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue