From 285f4dece04140044c98531ff21d395df1a79c0e Mon Sep 17 00:00:00 2001 From: nodiscc Date: Thu, 23 Jul 2015 20:00:12 +0200 Subject: [PATCH] dwlink: add inline symbol if package is from kxstudio --- dwlink | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dwlink b/dwlink index 0d576d4..acfe6ef 100755 --- a/dwlink +++ b/dwlink @@ -116,15 +116,17 @@ do PACKAGE_DESCR=`apt-cache show $pack | egrep "^Description" |egrep -v "Description-md5"| uniq | cut -d " " -f2-`; HOMEPAGE=`apt-cache show $pack | egrep "^Homepage" | uniq | cut -d " " -f2-`; LINK_URL="http://packages.debian.org/wheezy/$pack" - if KXSTUDIO="1" + suffix="" + if [ "$KXSTUDIO" = "1" ] then LINK_URL="http://kxstudio.linuxaudio.org/Repositories:Plugins" + suffix=' `▒`' fi if [ "$MARKDOWN" = "1" ] then #Markdown syntax if [[ "$MODE" != "homepage_only" ]] then - echo -n "${BULLET}[$pack]($LINK_URL) - $PACKAGE_DESCR"; + echo -n "${BULLET}[$pack]($LINK_URL) - ${PACKAGE_DESCR}${suffix}"; fi if [[ "$HOMEPAGE" != "" ]] then