summaryrefslogtreecommitdiffstats
path: root/sqwebmail/html/lstsoftlinks
diff options
context:
space:
mode:
Diffstat (limited to 'sqwebmail/html/lstsoftlinks')
-rwxr-xr-xsqwebmail/html/lstsoftlinks24
1 files changed, 24 insertions, 0 deletions
diff --git a/sqwebmail/html/lstsoftlinks b/sqwebmail/html/lstsoftlinks
new file mode 100755
index 0000000..7bf7690
--- /dev/null
+++ b/sqwebmail/html/lstsoftlinks
@@ -0,0 +1,24 @@
+#!/bin/sh
+#
+# Copyright 1998 - 1999 Double Precision, Inc. See COPYING for
+# distribution information.
+
+for f in $*
+do
+ SOFTLINK=""
+ for component in `echo $f | tr '-' ' '`
+ do
+ if test "$SOFTLINK" = ""
+ then
+ SOFTLINK="$component"
+ else
+ SOFTLINK="$SOFTLINK""-$component"
+ fi
+
+ if test -f $SOFTLINK/LANGUAGE
+ then
+ test `cat $SOFTLINK/LANGUAGE` = $SOFTLINK && continue
+ fi
+ echo $SOFTLINK
+ done
+done