Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Effenberg <se@plista.com>2010-09-23 14:32:08 +0400
committerSimon Effenberg <se@plista.com>2010-09-23 14:32:08 +0400
commitf7a40fbb7befb5e21680dbbf059100a58c03a16c (patch)
tree62fc79f4566d3232b7378a7ed9f6c18bfc646d27 /debian/postrm
parent40bc4a991c206944f760275c32a77a2349759efd (diff)
added a debian/ directory to build phpredis easy with svn-buildpackage/dpkg-buildpackage
Diffstat (limited to 'debian/postrm')
-rw-r--r--debian/postrm41
1 files changed, 41 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 00000000..c02266d5
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,41 @@
+#!/bin/sh
+# postinst script for an Apache virtual host component of plista
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <overwriter>
+# <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+case "$1" in
+ purge)
+ if [ -e /etc/php5/conf.d/redis.ini ]; then
+ rm -f /etc/php5/conf.d/redis.ini
+ fi
+ ;;
+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0