mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +01:00
This commit is contained in:
parent
58b8d67118
commit
93013c9051
1 changed files with 1 additions and 1 deletions
|
@ -1155,7 +1155,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
# extract the pattern from $i, if and only if "$i" is to the syntax <repo>:<pattern>. Without
|
||||
# this, PAT would be set to $DIR when $i is to the syntax <repo>.
|
||||
#
|
||||
[[ "$DIR" =~ [:][:alnum:]+ ]] && PAT=${i/*:/}
|
||||
[[ "$i" =~ [:][[:alnum:]]+ ]] && PAT=${i/*:/}
|
||||
|
||||
# when the current priority is of kind <REPO>:<PATTERN>, the loop must be short-circuited
|
||||
# when SEARCHSTR does not match PATTERN, otherwise, some packages could be mistakenly
|
||||
|
|
Loading…
Reference in a new issue