Subversion Repositories wimsdev

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
13034 bpr 1
#! /bin/sh
2
###############################################################################
3
# gifs/themes/mkattribut
4
#
5
# Create an automatic file for all attribut icones in public_html/themes/
6
 
7
###############################################################################
8
 
9
cd `dirname $0`
10
 
11
## creation of the icon list
12
dir_iconlist="../../themes";
13
if [ -f $dir_iconlist/icon ]; then mv $dir_iconlist/icon $dir_iconlist/icon.tmp; fi
14
for dir in `ls -d ../domains/*`; do
15
  if [ -d $dir ] ; then
16
    head -1 $dir/icons.css | sed -e 's,/\*,,g' -e 's,\*/,,g' >> $dir_iconlist/icon;
17
  fi;
18
done;
19
rm -f $dir_iconlist/icon.tmp;