File: fixup-install.sh

package info (click to toggle)
wwwoffle 2.9f-2.2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 7,716 kB
  • ctags: 2,077
  • sloc: ansic: 23,951; sh: 6,815; lex: 4,201; perl: 917; makefile: 623; ruby: 181; lisp: 14
file content (15 lines) | stat: -rwxr-xr-x 263 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#
# A shell script that is run by the installation process and then deleted.
#
# Usage: fixup-install.sh LOCALHOST
#

localhost=$1

#

for file in */wwwoffle.pac ; do
    sed -e "s%LOCALHOST%$localhost%g" < $file > $file.tmp
    mv $file.tmp $file
done