File: installhtml

package info (click to toggle)
mailreader 2.3.36-3.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,632 kB
  • ctags: 131
  • sloc: perl: 3,496; sh: 405; makefile: 68
file content (17 lines) | stat: -rw-r--r-- 476 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
for i in `ls cgi-bin/*.cfg`; do
    if [ ! -e html/`basename $i .cfg`.help ]; then
	ln -s english.help html/`basename $i .cfg`.help
    fi
done
for i in `ls html`; do
    if [ ! -L html/$i ]; then
	install -m 644 -o www-data -g www-data html/$i debian/mailreader/usr/lib/mailreader/html
    fi
done
cd debian/mailreader/usr/lib/mailreader/html
for i in `ls ../../../../../../html`; do
    if [ -L ../../../../../../html/$i ]; then
	ln -s english.help $i
    fi
done