mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +01:00
Fixed a bug with TAG_PRIORITY. Thanks to yars068.
This commit is contained in:
parent
3f16140eeb
commit
796b6b1c93
1 changed files with 1 additions and 1 deletions
|
@ -756,7 +756,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
)| grep -f - -n -m 1 ${TMPDIR}/pkglist
|
||||
)
|
||||
if [ ! -z "$PKGINFOS" ] ; then
|
||||
LINEIDX=${$PKGINFOS/:*/} #LINEIDX=$(echo "$PKGINFOS" | cut -f1 -d":")
|
||||
LINEIDX=${PKGINFOS/:*/} #LINEIDX=$(echo "$PKGINFOS" | cut -f1 -d":")
|
||||
PKGDATA=( ${PKGINFOS/*:/} ) #PKGDATA=( $(echo "$PKGINFOS" | cut -f2- -d":") )
|
||||
mv ${TMPDIR}/pkglist ${TMPDIR}/pkglist.old
|
||||
sed -i --expression "${LINEIDX}d" --expression "${PRIORITYIDX}i${PKGDATA[*]}" ${TMPDIR}/pkglist.old > ${TMPDIR}/pkglist
|
||||
|
|
Loading…
Reference in a new issue