mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-27 09:58:34 +01:00
fixed search that may fails to detect repository in certain conditions.
This commit is contained in:
parent
6553f7d8c4
commit
8c3b93e006
1 changed files with 1 additions and 1 deletions
|
@ -879,7 +879,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
for i in ${PRIORITY[@]}; do
|
for i in ${PRIORITY[@]}; do
|
||||||
DIR="$i"
|
DIR="$i"
|
||||||
if echo "$DIR" | grep -q "[a-zA-Z0-9]\+[:]" ; then
|
if echo "$DIR" | grep -q "[a-zA-Z0-9]\+[:]" ; then
|
||||||
DIR=$(echo "$i" | cut -f2- -d":")
|
DIR=$(echo "$i" | cut -f1 -d":")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$CMD" == "file-search" ] ; then
|
if [ "$CMD" == "file-search" ] ; then
|
||||||
|
|
Loading…
Reference in a new issue