[Pkg-php-commits] [php/debian-sid] remove sybase conffile renaming support, no longer needed
Sean Finney
seanius at debian.org
Sat Sep 19 22:33:56 UTC 2009
the version in lenny is newer than the version that would need the
upgrade support.
---
debian/php5-sybase.postinst.extra | 6 ------
debian/php5-sybase.preinst | 12 ------------
debian/php5-sybase.prerm | 12 ------------
3 files changed, 0 insertions(+), 30 deletions(-)
delete mode 100644 debian/php5-sybase.postinst.extra
delete mode 100644 debian/php5-sybase.preinst
delete mode 100644 debian/php5-sybase.prerm
diff --git a/debian/php5-sybase.postinst.extra b/debian/php5-sybase.postinst.extra
deleted file mode 100644
index dc3bc60..0000000
--- a/debian/php5-sybase.postinst.extra
+++ /dev/null
@@ -1,6 +0,0 @@
-OLD_CONFFILE=/etc/php5/conf.d/sybase_ct.ini
-if [ -e "$OLD_CONFFILE" ] && dpkg --compare-versions "$2" lt-nl 5.2.3-2
-then
- rm $OLD_CONFFILE
-fi
-
diff --git a/debian/php5-sybase.preinst b/debian/php5-sybase.preinst
deleted file mode 100644
index 6a08b13..0000000
--- a/debian/php5-sybase.preinst
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -e
-
-OLD_CONFFILE=/etc/php5/conf.d/sybase_ct.ini
-NEW_CONFFILE=/etc/php5/conf.d/mssql.ini
-if [ -e "$OLD_CONFFILE" ] && dpkg --compare-versions "$2" lt-nl 5.2.3-2
-then
- sed -e's/\(extension=[[:space:]]*\)sybase_ct\.so/\1mssql.so/' \
- $OLD_CONFFILE > $NEW_CONFFILE
-fi
-
-#DEBHELPER#
diff --git a/debian/php5-sybase.prerm b/debian/php5-sybase.prerm
deleted file mode 100644
index 25214a2..0000000
--- a/debian/php5-sybase.prerm
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -e
-
-OLD_CONFFILE=/etc/php5/conf.d/sybase_ct.ini
-NEW_CONFFILE=/etc/php5/conf.d/mssql.ini
-if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt 5.2.3-2
-then
- sed -e's/\(extension=[[:space:]]*\)mssql\.so/\1sybase_ct.so/' \
- $NEW_CONFFILE > $OLD_CONFFILE
-fi
-
-#DEBHELPER#
--
1.5.6.5
More information about the Pkg-php-commits
mailing list