dwlink: add inline symbol if package is from kxstudio

This commit is contained in:
nodiscc
2015-07-23 20:00:12 +02:00
parent 92677b8ec6
commit 285f4dece0

6
dwlink
View File

@@ -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