mirror of
https://github.com/zuno/slackpkgplus
synced 2025-01-13 20:01:04 +01:00
Fixed a regression that in same condition the TAG_PRIORITY avoid
slackpkg search to work properly even if it is disabled.
This commit is contained in:
parent
ddbbb3b2cf
commit
9c2f068379
1 changed files with 6 additions and 6 deletions
|
@ -657,12 +657,12 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
echo 1
|
echo 1
|
||||||
fi
|
fi
|
||||||
if [ "$(basename $1)" == "CHECKSUMS.md5" ];then
|
if [ "$(basename $1)" == "CHECKSUMS.md5" ];then
|
||||||
# if [ "$TAG_PRIORITY" == "on" ];then
|
if [ "$TAG_PRIORITY" == "on" ];then
|
||||||
mv ${TMPDIR}/CHECKSUMS.md5 ${TMPDIR}/CHECKSUMS.md5-old
|
mv ${TMPDIR}/CHECKSUMS.md5 ${TMPDIR}/CHECKSUMS.md5-old
|
||||||
for PREPO in ${PRIORITY[*]};do
|
for PREPO in ${PRIORITY[*]};do
|
||||||
grep " \./$PREPO/" ${TMPDIR}/CHECKSUMS.md5-old >> ${TMPDIR}/CHECKSUMS.md5
|
grep " \./$PREPO/" ${TMPDIR}/CHECKSUMS.md5-old >> ${TMPDIR}/CHECKSUMS.md5
|
||||||
done
|
done
|
||||||
# fi
|
fi
|
||||||
X86_64=$(ls $ROOT/var/log/packages/aaa_base*x86_64* 2>/dev/null|head -1)
|
X86_64=$(ls $ROOT/var/log/packages/aaa_base*x86_64* 2>/dev/null|head -1)
|
||||||
for PREPO in ${REPOPLUS[*]};do
|
for PREPO in ${REPOPLUS[*]};do
|
||||||
if [ -z "$X86_64" ];then
|
if [ -z "$X86_64" ];then
|
||||||
|
|
Loading…
Reference in a new issue