mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-09 19:50:25 +03:00
sbopkg: Fix path location.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
parent
f93148aad4
commit
c766b3d1ab
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user