[Koha-patches] [PATCH 02/28] Bugfix: Remove Debian packaging files remaining from old packaging effort.
Lars Wirzenius
lars at catalyst.net.nz
Tue May 25 03:44:01 CEST 2010
---
debian/libkoha-perl.config | 9 ---------
debian/libkoha-perl.postinst | 38 --------------------------------------
2 files changed, 0 insertions(+), 47 deletions(-)
delete mode 100644 debian/libkoha-perl.config
delete mode 100644 debian/libkoha-perl.postinst
diff --git a/debian/libkoha-perl.config b/debian/libkoha-perl.config
deleted file mode 100644
index fc41aa7..0000000
--- a/debian/libkoha-perl.config
+++ /dev/null
@@ -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
-
diff --git a/debian/libkoha-perl.postinst b/debian/libkoha-perl.postinst
deleted file mode 100644
index 502bd8f..0000000
--- a/debian/libkoha-perl.postinst
+++ /dev/null
@@ -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
\ No newline at end of file
--
1.7.1
More information about the Koha-patches
mailing list