]> git.pld-linux.org Git - packages/webapps.git/commitdiff
- symlink name lies (keep the webapp name for modules)
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 10 Jan 2006 01:07:45 +0000 (01:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    webapps.sh -> 1.13

webapps.sh

index 8d9efabf2683664cb91622c91d90536ee844c6e6..085a3fa084196abd27ef4b6b918e21a261662d08 100644 (file)
@@ -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
This page took 0.151771 seconds and 4 git commands to generate.