mirror of
https://github.com/zuno/slackpkgplus
synced 2025-01-13 20:01:04 +01:00
Fixed an issue when there are no repository configured.
This commit is contained in:
parent
9594a05f77
commit
7221924589
1 changed files with 3 additions and 1 deletions
|
@ -1659,7 +1659,9 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
done
|
done
|
||||||
|
|
||||||
REPOPLUS=( $(echo "${REPOPLUS[*]} ${PURE_PKGSPRIORITY[*]} ${!MIRRORPLUS[*]}"|sed 's/ /\n/g'|sed 's/:.*//'|awk '{if(!a[$1]++)print $1}') )
|
REPOPLUS=( $(echo "${REPOPLUS[*]} ${PURE_PKGSPRIORITY[*]} ${!MIRRORPLUS[*]}"|sed 's/ /\n/g'|sed 's/:.*//'|awk '{if(!a[$1]++)print $1}') )
|
||||||
PRIORITY=( ${PRIORITY[*]} SLACKPKGPLUS_$(echo ${REPOPLUS[*]}|sed 's/ / SLACKPKGPLUS_/g') )
|
if [ ! -z "${REPOPLUS[*]}" ];then
|
||||||
|
PRIORITY=( ${PRIORITY[*]} SLACKPKGPLUS_$(echo ${REPOPLUS[*]}|sed 's/ / SLACKPKGPLUS_/g') )
|
||||||
|
fi
|
||||||
|
|
||||||
# Test repositories
|
# Test repositories
|
||||||
for pp in ${REPOPLUS[*]};do
|
for pp in ${REPOPLUS[*]};do
|
||||||
|
|
Loading…
Reference in a new issue