sbopkg: Fix path location.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
Willy Sudiarto Raharjo 2020-03-01 01:23:52 +07:00
parent f93148aad4
commit c766b3d1ab
No known key found for this signature in database
GPG Key ID: 887B8374D7333381

View File

@ -734,7 +734,7 @@ check_for_updates() {
check_if_repo_exists check_if_repo_exists
UPDATELIST=$SBOPKGTMP/sbopkg_updatelist UPDATELIST=$SBOPKGTMP/sbopkg_updatelist
rm -f $UPDATELIST $ERRORMSG rm -f $UPDATELIST $ERRORMSG
cd /var/log/packages cd /var/lib/pkgtools/packages/
# Check if blacklist file exists # Check if blacklist file exists
if [[ -s $BLACKLISTFILE ]]; then if [[ -s $BLACKLISTFILE ]]; then
@ -2318,7 +2318,7 @@ add_all_to_queue() {
rm -f $SBOPKGLIST $MISSING_LIST_FILE $PROGRESSBAR_INTERRUPTED rm -f $SBOPKGLIST $MISSING_LIST_FILE $PROGRESSBAR_INTERRUPTED
cp $TMPQUEUE $TMPQUEUE_BACKUP 2> /dev/null cp $TMPQUEUE $TMPQUEUE_BACKUP 2> /dev/null
touch $USERQUEUE_LOCK touch $USERQUEUE_LOCK
cd /var/log/packages cd /var/lib/pkgtools/packages/
PKGS=$(ls *$REPO_TAG* 2> /dev/null) PKGS=$(ls *$REPO_TAG* 2> /dev/null)
for FILE in $PKGS; do for FILE in $PKGS; do
echo $FILE >> $SBOPKGLIST echo $FILE >> $SBOPKGLIST