From: Elan Ruusamäe Date: Tue, 10 Jan 2006 01:07:45 +0000 (+0000) Subject: - symlink name lies (keep the webapp name for modules) X-Git-Tag: auto/ac/webapps-0_2-6~1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=e00050c41fce6528b355eef839a9ae1a0912b2bd;hp=4f184781501f40ab9b727198a77fb5c4b953baf9;p=packages%2Fwebapps.git - symlink name lies (keep the webapp name for modules) Changed files: webapps.sh -> 1.13 --- diff --git a/webapps.sh b/webapps.sh index 8d9efab..085a3fa 100644 --- a/webapps.sh +++ b/webapps.sh @@ -27,7 +27,7 @@ webapp_list() { echo "$server:" for conf in /etc/$server/webapps.d/*; do [ -L $conf ] || continue - app=$(basename $conf .conf) + app=$(readlink $conf | sed -e "s,.*$webapps/,,;s,/$server.conf$,,") echo "- $app" done done