Bugfix: Remove Debian packaging files remaining from old packaging effort.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Lars Wirzenius 2010-05-25 13:44:01 +12:00 committed by Galen Charlton
parent 18990e60ee
commit 2bce655e2d
2 changed files with 0 additions and 47 deletions

View File

@ -1,9 +0,0 @@
#!/bin/sh
set -e
alias stripwhitespace="sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//'"
installeddebconfversion=dpkg -s debconf | sed -ne '/^Version/s/^Version: //p'
. /usr/share/debconf/confmodule

View File

@ -1,38 +0,0 @@
#!/bin/sh
set -e
# Load the debconf library - this must come FIRST; do not insert any other
# commands before this
. /usr/share/debconf/confmodule
echo "INFO: postinst as '$1'"
case "$1" in
configure)
echo "Configuring..."
# set up logrotate
# remove first in case we are reconfiguring
# rm /etc/logrotate.d/koha
# add logrotate
ln -s /etc/koha/koha.logrotate /etc/logrotate.d/koha
# reload apache
/etc/init.d/apache2 reload
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \$1'" >&2
exit 0
;;
esac
#DEBHELPER#
# finish up
db_stop
exit 0