fixup-install.sh
上传用户:seven77cht
上传日期:2007-01-04
资源大小:486k
文件大小:1k
- #!/bin/sh
- #
- # A shell script that is run by the installation process and then deleted.
- #
- # Usage: fixup-install.sh SPOOLDIR LOCALHOST
- #
- spooldir=$1
- localhost=$2
- for file in htdig/conf/* ; do
- sed -e "s%SPOOLDIR%$spooldir%g" -e "s%LOCALHOST%$localhost%g" < $file > $file.tmp
- mv $file.tmp $file
- done
- for file in htdig/scripts/* ; do
- sed -e "s%SPOOLDIR%$spooldir%g" -e "s%LOCALHOST%$localhost%g" < $file > $file.tmp
- mv $file.tmp $file
- chmod 755 $file
- done
- for file in wwwoffle.pac ; do
- sed -e "s%SPOOLDIR%$spooldir%g" -e "s%LOCALHOST%$localhost%g" < $file > $file.tmp
- mv $file.tmp $file
- done