#!/bin/sh
#-------------------------------------------------------------------
# This file is part of the wwwoffle-sql package
#
#  Version : 0.02  Released : 03/05/99
#
# Author : Peter Marbaise (pema@hippo.fido.de,2:2452/110.20)
#
#              GNU GENERAL PUBLIC LICENSE Version 2
#              (see LICENSE for the complete text)
#
#-------------------------------------------------------------------

# ---------------------------------------
wwwbasedir=/usr/local/apache/share/htdocs
rm -r $wwwbasedir/wwwoffle-sql
mkdir $wwwbasedir/wwwoffle-sql
chown wwwrun:wwwadmin $wwwbasedir/wwwoffle-sql
install --mode 0755 -g root -o root add.pl $wwwbasedir/wwwoffle-sql/add.pl
install --mode 0755 -g root -o root edit.pl $wwwbasedir/wwwoffle-sql/edit.pl
install --mode 0755 -g root -o root delhost.pl $wwwbasedir/wwwoffle-sql/delhost.pl
install --mode 0755 -g root -o root delpage.pl $wwwbasedir/wwwoffle-sql/delpage.pl
install --mode 0755 -g root -o root keylist.pl $wwwbasedir/wwwoffle-sql/keylist.pl
install --mode 0644 -g root -o root formate.css $wwwbasedir/wwwoffle-sql/formate.css
install --mode 0755 -g root -o root readwwwoffle.pl $wwwbasedir/wwwoffle-sql/readwwwoffle.pl
install --mode 0755 -g root -o root searchkey.pl $wwwbasedir/wwwoffle-sql/searchkey.pl
install --mode 0755 -g root -o root servers.pl $wwwbasedir/wwwoffle-sql/servers.pl
install --mode 0755 -g root -o root wwwofflelib.pm $wwwbasedir/wwwoffle-sql/wwwofflelib.pm
install --mode 0644 -g root -o root wwwofflesql.html $wwwbasedir/wwwoffle-sql/wwwofflesql.html
install --mode 0644 -g root -o root wwwoffle.gif $wwwbasedir/wwwoffle-sql/wwwoffle.gif
install --mode 0644 -g root -o root wwwoffle-still.gif $wwwbasedir/wwwoffle-sql/wwwoffle-still.gif
mv /var/spool/wwwoffle/html/messages/AddInfoRefresh.html /var/spool/wwwoffle/html/messages/AddInfoRefresh.html.org
install --mode 0644 -g root -o root AddInfoRefresh.html /var/spool/wwwoffle/html/messages/AddInfoRefresh.html
install --mode 0755 -g root -o root searchkey /usr/bin/searchkey
