mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +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
|
||||
fi
|
||||
if [ "$(basename $1)" == "CHECKSUMS.md5" ];then
|
||||
# if [ "$TAG_PRIORITY" == "on" ];then
|
||||
mv ${TMPDIR}/CHECKSUMS.md5 ${TMPDIR}/CHECKSUMS.md5-old
|
||||
for PREPO in ${PRIORITY[*]};do
|
||||
grep " \./$PREPO/" ${TMPDIR}/CHECKSUMS.md5-old >> ${TMPDIR}/CHECKSUMS.md5
|
||||
done
|
||||
# fi
|
||||
if [ "$TAG_PRIORITY" == "on" ];then
|
||||
mv ${TMPDIR}/CHECKSUMS.md5 ${TMPDIR}/CHECKSUMS.md5-old
|
||||
for PREPO in ${PRIORITY[*]};do
|
||||
grep " \./$PREPO/" ${TMPDIR}/CHECKSUMS.md5-old >> ${TMPDIR}/CHECKSUMS.md5
|
||||
done
|
||||
fi
|
||||
X86_64=$(ls $ROOT/var/log/packages/aaa_base*x86_64* 2>/dev/null|head -1)
|
||||
for PREPO in ${REPOPLUS[*]};do
|
||||
if [ -z "$X86_64" ];then
|
||||
|
|
Loading…
Reference in a new issue