From e00050c41fce6528b355eef839a9ae1a0912b2bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 10 Jan 2006 01:07:45 +0000 Subject: [PATCH] - symlink name lies (keep the webapp name for modules) Changed files: webapps.sh -> 1.13 --- webapps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.0