[evolvis-commits] r14242: Convert @PACKAGE@ to @OLDPACKAGE@ in package maintenance scripts
mirabilos at evolvis.org
mirabilos at evolvis.org
Mon Feb 28 03:59:08 CET 2011
Author: mirabilos
Date: 2011-02-28 03:59:08 +0100 (Mon, 28 Feb 2011)
New Revision: 14242
Modified:
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/common.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/common.postrm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/common.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/db-postgresql.config.dsfh-in
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/db-postgresql.postinst.dsfh-in
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/db-postgresql.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/dns-bind9.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/dns-bind9.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/ftp-proftpd.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/ftp-proftpd.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/lists-mailman.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-exim4.config.dsfh-in
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-exim4.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-exim4.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-postfix.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-postfix.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-extratabs.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-extratabs.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-globalsearch.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-globalsearch.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-mediawiki.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-mediawiki.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-projectlabels.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-projectlabels.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmarch.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmarch.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmbzr.init.d
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmbzr.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmbzr.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcpold.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcpold.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcvs.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcvs.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmdarcs.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmdarcs.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmgit.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmgit.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmhg.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmhg.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmsvn.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmsvn.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/shell-postgresql.postinst
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/shell-postgresql.prerm
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2-vhosts.postinst.dsfh-in
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2-vhosts.postrm.dsfh-in
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2.postinst.dsfh-in
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2.prerm
Log:
Convert @PACKAGE@ to @OLDPACKAGE@ in package maintenance scripts
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/common.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/common.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/common.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE@
+# postinst script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -27,12 +27,12 @@
case "$1" in
configure)
- adduser --system --group --home /var/www/@PACKAGE@ @PACKAGE@ > /dev/null 2>&1
- adduser --system --group --home /var/lib/@PACKAGE@/chroot/cvsroot anonscm- at PACKAGE@ > /dev/null 2>&1
- adduser --system --group --home /var/lib/@PACKAGE@/chroot/cvsroot scm- at PACKAGE@ > /dev/null 2>&1
- adduser --system --group --home /var/lib/@PACKAGE@/chroot/cvsroot www- at PACKAGE@ > /dev/null 2>&1
+ adduser --system --group --home /var/www/@OLDPACKAGE@ @OLDPACKAGE@ > /dev/null 2>&1
+ adduser --system --group --home /var/lib/@OLDPACKAGE@/chroot/cvsroot anonscm- at OLDPACKAGE@ > /dev/null 2>&1
+ adduser --system --group --home /var/lib/@OLDPACKAGE@/chroot/cvsroot scm- at OLDPACKAGE@ > /dev/null 2>&1
+ adduser --system --group --home /var/lib/@OLDPACKAGE@/chroot/cvsroot www- at OLDPACKAGE@ > /dev/null 2>&1
- @PACKAGE at -config
+ @OLDPACKAGE at -config
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/common.postrm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/common.postrm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/common.postrm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postrm script for @PACKAGE@
+# postrm script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -18,8 +18,8 @@
case "$1" in
purge)
- rm -rf /var/lib/@PACKAGE@
- [ -d /etc/@PACKAGE@ ] && rm -rf /etc/@PACKAGE@
+ rm -rf /var/lib/@OLDPACKAGE@
+ [ -d /etc/@OLDPACKAGE@ ] && rm -rf /etc/@OLDPACKAGE@
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/common.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/common.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/common.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE@
+# prerm script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -21,7 +21,7 @@
case "$1" in
remove)
- rm -f /etc/@PACKAGE@/local.pl
+ rm -f /etc/@OLDPACKAGE@/local.pl
;;
upgrade|deconfigure|failed-upgrade)
;;
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/db-postgresql.config.dsfh-in
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/db-postgresql.config.dsfh-in 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/db-postgresql.config.dsfh-in 2011-02-28 02:59:08 UTC (rev 14242)
@@ -14,15 +14,15 @@
#DSFHELPER:dbhost-variables#
#DSFHELPER:dbpasswd-variables#
-db_input low @PACKAGE@/shared/admin_login || true
-db_fget @PACKAGE@/shared/admin_password seen || true
+db_input low @OLDPACKAGE@/shared/admin_login || true
+db_fget @OLDPACKAGE@/shared/admin_password seen || true
if [ "$RET" = "false" ]; then
- if [ "$(get_pw @PACKAGE@/shared/admin_password high)" = "not-asked" ] ; then
- db_set @PACKAGE@/shared/admin_password $(gen_random_pw)
- db_get @PACKAGE@/shared/admin_password || true
+ if [ "$(get_pw @OLDPACKAGE@/shared/admin_password high)" = "not-asked" ] ; then
+ db_set @OLDPACKAGE@/shared/admin_password $(gen_random_pw)
+ db_get @OLDPACKAGE@/shared/admin_password || true
echo "Since you asked not to see all the debconf questions, I generated a random"
echo "password for the admin user. It is '${RET}'." ;
- db_fset @PACKAGE@/shared/admin_password seen true
+ db_fset @OLDPACKAGE@/shared/admin_password seen true
fi
fi
@@ -33,7 +33,7 @@
#DSFHELPER:downloadhost-variables#
#DSFHELPER:groupid-variables#
-db_input low @PACKAGE@/shared/skill_list || true
+db_input low @OLDPACKAGE@/shared/skill_list || true
db_go || true
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/db-postgresql.postinst.dsfh-in
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/db-postgresql.postinst.dsfh-in 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/db-postgresql.postinst.dsfh-in 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE@
+# postinst script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -17,11 +17,11 @@
export pg_hba_dir=/etc/postgresql/${pg_version}/main
else
echo "No database found online on port 5432"
- echo "Couldn't initialize or upgrade @PACKAGE@ database."
+ echo "Couldn't initialize or upgrade @OLDPACKAGE@ database."
echo "Please see postgresql documentation"
- echo "and run dpkg-reconfigure -plow @PACKAGE at -db-postgresql"
+ echo "and run dpkg-reconfigure -plow @OLDPACKAGE at -db-postgresql"
echo "once the problem is solved"
- echo "exiting without error, but @PACKAGE@ db will not work"
+ echo "exiting without error, but @OLDPACKAGE@ db will not work"
echo "right now"
exit 0
fi
@@ -56,19 +56,19 @@
configure)
add_onevar_mainconfile default_trove_cat 18
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Patch DB configuration files
- /usr/share/@PACKAGE@/bin/install-db.sh configure-files
- ucf --debconf-ok ${pg_hba_dir}/pg_hba.conf. at PACKAGE@-new ${pg_hba_dir}/pg_hba.conf
- rm ${pg_hba_dir}/pg_hba.conf. at PACKAGE@-new
+ /usr/share/@OLDPACKAGE@/bin/install-db.sh configure-files
+ ucf --debconf-ok ${pg_hba_dir}/pg_hba.conf. at OLDPACKAGE@-new ${pg_hba_dir}/pg_hba.conf
+ rm ${pg_hba_dir}/pg_hba.conf. at OLDPACKAGE@-new
# Make sure the database accepts connections from these new users
pg_name=postgresql-$pg_version
invoke-rc.d ${pg_name} reload
# Setup our DB
- /usr/share/@PACKAGE@/bin/install-db.sh configure
+ /usr/share/@OLDPACKAGE@/bin/install-db.sh configure
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/db-postgresql.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/db-postgresql.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/db-postgresql.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE@
+# prerm script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -17,11 +17,11 @@
export pg_hba_dir=/etc/postgresql/${pg_version}/main/
else
echo "No database found online on port 5432"
- echo "Couldn't initialize or upgrade @PACKAGE@ database."
+ echo "Couldn't initialize or upgrade @OLDPACKAGE@ database."
echo "Please see postgresql documentation"
- echo "and run dpkg-reconfigure -plow @PACKAGE at -db-postgresql"
+ echo "and run dpkg-reconfigure -plow @OLDPACKAGE at -db-postgresql"
echo "once the problem is solved"
- echo "exiting without error, but @PACKAGE@ db will not work"
+ echo "exiting without error, but @OLDPACKAGE@ db will not work"
echo "right now"
exit 0
fi
@@ -46,12 +46,12 @@
case "$1" in
remove)
# Remove our database
- /usr/share/@PACKAGE@/bin/install-db.sh purge
+ /usr/share/@OLDPACKAGE@/bin/install-db.sh purge
# Unpatch DB configuration files
- /usr/share/@PACKAGE@/bin/install-db.sh purge-files
- ucf --debconf-ok ${pg_hba_dir}/pg_hba.conf. at PACKAGE@-new ${pg_hba_dir}/pg_hba.conf
- rm ${pg_hba_dir}/pg_hba.conf. at PACKAGE@-new
+ /usr/share/@OLDPACKAGE@/bin/install-db.sh purge-files
+ ucf --debconf-ok ${pg_hba_dir}/pg_hba.conf. at OLDPACKAGE@-new ${pg_hba_dir}/pg_hba.conf
+ rm ${pg_hba_dir}/pg_hba.conf. at OLDPACKAGE@-new
ucf --purge ${pg_hba_dir}/pg_hba.conf
pg_name=postgresql-$pg_version
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/dns-bind9.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/dns-bind9.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/dns-bind9.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE@
+# postinst script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -27,17 +27,17 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Patch Bind configuration files
- /usr/share/@PACKAGE@/bin/install-dns.sh configure-files
- ucf --debconf-ok /etc/bind/named.conf. at PACKAGE@-new /etc/bind/named.conf
- rm /etc/bind/named.conf. at PACKAGE@-new
+ /usr/share/@OLDPACKAGE@/bin/install-dns.sh configure-files
+ ucf --debconf-ok /etc/bind/named.conf. at OLDPACKAGE@-new /etc/bind/named.conf
+ rm /etc/bind/named.conf. at OLDPACKAGE@-new
db_stop
# Create the DNS zone
- /usr/share/@PACKAGE@/bin/install-dns.sh configure
+ /usr/share/@OLDPACKAGE@/bin/install-dns.sh configure
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/dns-bind9.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/dns-bind9.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/dns-bind9.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE@
+# prerm script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -23,16 +23,16 @@
db_title "Unconfiguring @FORGENAME@"
# Unpatch Bind configuration files
- /usr/share/@PACKAGE@/bin/install-dns.sh purge-files
- ucf --debconf-ok /etc/bind/named.conf. at PACKAGE@-new /etc/bind/named.conf
- rm /etc/bind/named.conf. at PACKAGE@-new
+ /usr/share/@OLDPACKAGE@/bin/install-dns.sh purge-files
+ ucf --debconf-ok /etc/bind/named.conf. at OLDPACKAGE@-new /etc/bind/named.conf
+ rm /etc/bind/named.conf. at OLDPACKAGE@-new
ucf --purge /etc/bind/named.conf
# Clean debconf after ourselves
db_stop
# DNS config removal
- /usr/share/@PACKAGE@/bin/install-dns.sh purge
+ /usr/share/@OLDPACKAGE@/bin/install-dns.sh purge
;;
upgrade|deconfigure|failed-upgrade)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/ftp-proftpd.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/ftp-proftpd.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/ftp-proftpd.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE@
+# postinst script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -27,21 +27,21 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Patch Proftpd configuration files
- /usr/share/@PACKAGE@/bin/install-ftp.sh configure-files
- if [ -f /etc/proftpd/proftpd.conf. at PACKAGE@-new ]
+ /usr/share/@OLDPACKAGE@/bin/install-ftp.sh configure-files
+ if [ -f /etc/proftpd/proftpd.conf. at OLDPACKAGE@-new ]
then
- ucf --debconf-ok /etc/proftpd/proftpd.conf. at PACKAGE@-new /etc/proftpd/proftpd.conf
- rm /etc/proftpd/proftpd.conf. at PACKAGE@-new
+ ucf --debconf-ok /etc/proftpd/proftpd.conf. at OLDPACKAGE@-new /etc/proftpd/proftpd.conf
+ rm /etc/proftpd/proftpd.conf. at OLDPACKAGE@-new
fi
# Setup our FTP
- /usr/share/@PACKAGE@/bin/install-ftp.sh configure
+ /usr/share/@OLDPACKAGE@/bin/install-ftp.sh configure
# Setup our FRS
- chown www-data:www-data /var/lib/@PACKAGE@/download
+ chown www-data:www-data /var/lib/@OLDPACKAGE@/download
;;
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/ftp-proftpd.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/ftp-proftpd.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/ftp-proftpd.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE@
+# prerm script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -22,16 +22,16 @@
db_title "Unconfiguring @FORGENAME@"
# Unpatch Proftpd configuration files
- /usr/share/@PACKAGE@/bin/install-ftp.sh purge-files
- ucf --debconf-ok /etc/proftpd/proftpd.conf. at PACKAGE@-new /etc/proftpd/proftpd.conf
- rm /etc/proftpd/proftpd.conf. at PACKAGE@-new
+ /usr/share/@OLDPACKAGE@/bin/install-ftp.sh purge-files
+ ucf --debconf-ok /etc/proftpd/proftpd.conf. at OLDPACKAGE@-new /etc/proftpd/proftpd.conf
+ rm /etc/proftpd/proftpd.conf. at OLDPACKAGE@-new
ucf --purge /etc/proftpd/proftpd.conf
# Clean debconf after ourselves
db_stop
# FTP config removal
- /usr/share/@PACKAGE@/bin/install-ftp.sh purge
+ /usr/share/@OLDPACKAGE@/bin/install-ftp.sh purge
;;
upgrade|deconfigure|failed-upgrade)
;;
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/lists-mailman.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/lists-mailman.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/lists-mailman.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE@
+# postinst script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -27,11 +27,11 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
echo "Fixing past damage in mailing-lists..."
if [ -z "$2" ] || dpkg --compare-versions $2 le 3rc2-4 ; then
- su -s /bin/sh @PACKAGE@ -c /usr/share/@PACKAGE@/bin/fix-mailing-lists.pl
+ su -s /bin/sh @OLDPACKAGE@ -c /usr/share/@OLDPACKAGE@/bin/fix-mailing-lists.pl
fi
;;
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-exim4.config.dsfh-in
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-exim4.config.dsfh-in 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-exim4.config.dsfh-in 2011-02-28 02:59:08 UTC (rev 14242)
@@ -13,25 +13,25 @@
#DSFHELPER:users-variables#
#DSFHELPER:lists-variables#
-if [ -f /etc/aliases. at PACKAGE@-new ]
+if [ -f /etc/aliases. at OLDPACKAGE@-new ]
then
- ucf --debconf-ok /etc/aliases. at PACKAGE@-new /etc/aliases
- rm /etc/aliases. at PACKAGE@-new
+ ucf --debconf-ok /etc/aliases. at OLDPACKAGE@-new /etc/aliases
+ rm /etc/aliases. at OLDPACKAGE@-new
fi
-if [ -f /etc/exim4/exim4.conf. at PACKAGE@-new ]
+if [ -f /etc/exim4/exim4.conf. at OLDPACKAGE@-new ]
then
- ucf --debconf-ok /etc/exim4/exim4.conf. at PACKAGE@-new /etc/exim4/exim4.conf
- rm /etc/exim4/exim4.conf. at PACKAGE@-new
+ ucf --debconf-ok /etc/exim4/exim4.conf. at OLDPACKAGE@-new /etc/exim4/exim4.conf
+ rm /etc/exim4/exim4.conf. at OLDPACKAGE@-new
fi
-if [ -f /etc/exim4/exim4.conf.template. at PACKAGE@-new ]
+if [ -f /etc/exim4/exim4.conf.template. at OLDPACKAGE@-new ]
then
- ucf --debconf-ok /etc/exim4/exim4.conf.template. at PACKAGE@-new /etc/exim4/exim4.conf.template
- rm /etc/exim4/exim4.conf.template. at PACKAGE@-new
+ ucf --debconf-ok /etc/exim4/exim4.conf.template. at OLDPACKAGE@-new /etc/exim4/exim4.conf.template
+ rm /etc/exim4/exim4.conf.template. at OLDPACKAGE@-new
fi
-if [ -f /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at PACKAGE@-new ]
+if [ -f /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at OLDPACKAGE@-new ]
then
- ucf --debconf-ok /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at PACKAGE@-new /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs
- rm /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at PACKAGE@-new
+ ucf --debconf-ok /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at OLDPACKAGE@-new /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs
+ rm /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at OLDPACKAGE@-new
fi
db_stop
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-exim4.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-exim4.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-exim4.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE@
+# postinst script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -28,28 +28,28 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Patch Exim configuration files
- /usr/share/@PACKAGE@/bin/install-exim4.sh configure-files
- if [ -f /etc/aliases. at PACKAGE@-new ]
+ /usr/share/@OLDPACKAGE@/bin/install-exim4.sh configure-files
+ if [ -f /etc/aliases. at OLDPACKAGE@-new ]
then
- ucf --debconf-ok /etc/aliases. at PACKAGE@-new /etc/aliases
- rm /etc/aliases. at PACKAGE@-new
+ ucf --debconf-ok /etc/aliases. at OLDPACKAGE@-new /etc/aliases
+ rm /etc/aliases. at OLDPACKAGE@-new
fi
- if [ -f /etc/exim4/exim4.conf. at PACKAGE@-new ]
+ if [ -f /etc/exim4/exim4.conf. at OLDPACKAGE@-new ]
then
- ucf --debconf-ok /etc/exim4/exim4.conf. at PACKAGE@-new /etc/exim4/exim4.conf
- rm /etc/exim4/exim4.conf. at PACKAGE@-new
+ ucf --debconf-ok /etc/exim4/exim4.conf. at OLDPACKAGE@-new /etc/exim4/exim4.conf
+ rm /etc/exim4/exim4.conf. at OLDPACKAGE@-new
fi
- if [ -f /etc/exim4/exim4.conf.template. at PACKAGE@-new ]
+ if [ -f /etc/exim4/exim4.conf.template. at OLDPACKAGE@-new ]
then
- ucf --debconf-ok /etc/exim4/exim4.conf.template. at PACKAGE@-new /etc/exim4/exim4.conf.template
- rm /etc/exim4/exim4.conf.template. at PACKAGE@-new
+ ucf --debconf-ok /etc/exim4/exim4.conf.template. at OLDPACKAGE@-new /etc/exim4/exim4.conf.template
+ rm /etc/exim4/exim4.conf.template. at OLDPACKAGE@-new
fi
- if [ -f /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at PACKAGE@-new ]
+ if [ -f /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at OLDPACKAGE@-new ]
then
- ucf --debconf-ok /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at PACKAGE@-new /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs
- rm /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at PACKAGE@-new
+ ucf --debconf-ok /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at OLDPACKAGE@-new /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs
+ rm /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at OLDPACKAGE@-new
fi
;;
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-exim4.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-exim4.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-exim4.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE@
+# prerm script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -22,18 +22,18 @@
db_title "Unconfiguring @FORGENAME@"
# Unpatch Exim configuration files
- /usr/share/@PACKAGE@/bin/install-exim4.sh purge-files
- ucf --debconf-ok /etc/aliases. at PACKAGE@-new /etc/aliases
- if [ -f /etc/exim4/exim4.conf. at PACKAGE@-new ]
+ /usr/share/@OLDPACKAGE@/bin/install-exim4.sh purge-files
+ ucf --debconf-ok /etc/aliases. at OLDPACKAGE@-new /etc/aliases
+ if [ -f /etc/exim4/exim4.conf. at OLDPACKAGE@-new ]
then
- ucf --debconf-ok /etc/exim4/exim4.conf. at PACKAGE@-new /etc/exim4/exim4.conf
- rm /etc/exim4/exim4.conf. at PACKAGE@-new
+ ucf --debconf-ok /etc/exim4/exim4.conf. at OLDPACKAGE@-new /etc/exim4/exim4.conf
+ rm /etc/exim4/exim4.conf. at OLDPACKAGE@-new
fi
- ucf --debconf-ok /etc/exim4/exim4.conf.template. at PACKAGE@-new /etc/exim4/exim4.conf.template
- ucf --debconf-ok /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at PACKAGE@-new /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs
- rm /etc/aliases. at PACKAGE@-new
- rm /etc/exim4/exim4.conf.template. at PACKAGE@-new
- rm /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at PACKAGE@-new
+ ucf --debconf-ok /etc/exim4/exim4.conf.template. at OLDPACKAGE@-new /etc/exim4/exim4.conf.template
+ ucf --debconf-ok /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at OLDPACKAGE@-new /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs
+ rm /etc/aliases. at OLDPACKAGE@-new
+ rm /etc/exim4/exim4.conf.template. at OLDPACKAGE@-new
+ rm /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs. at OLDPACKAGE@-new
ucf --purge /etc/aliases
ucf --purge /etc/exim4/exim4.conf
ucf --purge /etc/exim4/exim4.conf.template
@@ -43,7 +43,7 @@
db_stop
# Exim config removal
- /usr/share/@PACKAGE@/bin/install-exim4.sh purge
+ /usr/share/@OLDPACKAGE@/bin/install-exim4.sh purge
;;
upgrade|deconfigure|failed-upgrade)
;;
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-postfix.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-postfix.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-postfix.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE@
+# postinst script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -27,15 +27,15 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Patch Postfix configuration files
- /usr/share/@PACKAGE@/bin/install-postfix.sh configure-files
- ucf --debconf-ok /etc/aliases. at PACKAGE@-new /etc/aliases
- ucf --debconf-ok /etc/postfix/main.cf. at PACKAGE@-new /etc/postfix/main.cf
- rm /etc/aliases. at PACKAGE@-new
- rm /etc/postfix/main.cf. at PACKAGE@-new
- /usr/share/@PACKAGE@/bin/install-postfix.sh configure
+ /usr/share/@OLDPACKAGE@/bin/install-postfix.sh configure-files
+ ucf --debconf-ok /etc/aliases. at OLDPACKAGE@-new /etc/aliases
+ ucf --debconf-ok /etc/postfix/main.cf. at OLDPACKAGE@-new /etc/postfix/main.cf
+ rm /etc/aliases. at OLDPACKAGE@-new
+ rm /etc/postfix/main.cf. at OLDPACKAGE@-new
+ /usr/share/@OLDPACKAGE@/bin/install-postfix.sh configure
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-postfix.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-postfix.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/mta-postfix.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE@
+# prerm script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -22,11 +22,11 @@
db_title "Unconfiguring @FORGENAME@"
# Unpatch Postfix configuration files
- /usr/share/@PACKAGE@/bin/install-postfix.sh purge-files
- ucf --debconf-ok /etc/aliases. at PACKAGE@-new /etc/aliases
- ucf --debconf-ok /etc/postfix/main.cf. at PACKAGE@-new /etc/postfix/main.cf
- rm /etc/aliases. at PACKAGE@-new
- rm /etc/postfix/main.cf. at PACKAGE@-new
+ /usr/share/@OLDPACKAGE@/bin/install-postfix.sh purge-files
+ ucf --debconf-ok /etc/aliases. at OLDPACKAGE@-new /etc/aliases
+ ucf --debconf-ok /etc/postfix/main.cf. at OLDPACKAGE@-new /etc/postfix/main.cf
+ rm /etc/aliases. at OLDPACKAGE@-new
+ rm /etc/postfix/main.cf. at OLDPACKAGE@-new
ucf --purge /etc/aliases
ucf --purge /etc/postfix/main.cf
@@ -34,7 +34,7 @@
db_stop
# Exim config removal
- /usr/share/@PACKAGE@/bin/install-postfix.sh purge
+ /usr/share/@OLDPACKAGE@/bin/install-postfix.sh purge
;;
upgrade|deconfigure|failed-upgrade)
;;
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-extratabs.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-extratabs.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-extratabs.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE at -plugin-extratabs
+# postinst script for @OLDPACKAGE at -plugin-extratabs
#
# see: dh_installdeb(1)
@@ -25,8 +25,8 @@
case "$1" in
configure)
- /usr/share/@PACKAGE@/plugins/extratabs/bin/db-upgrade.pl
- /usr/share/@PACKAGE@/bin/register-plugin extratabs "Extra Tabs"
+ /usr/share/@OLDPACKAGE@/plugins/extratabs/bin/db-upgrade.pl
+ /usr/share/@OLDPACKAGE@/bin/register-plugin extratabs "Extra Tabs"
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-extratabs.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-extratabs.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-extratabs.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE at -plugin-extratabs
+# prerm script for @OLDPACKAGE at -plugin-extratabs
#
# see: dh_installdeb(1)
@@ -19,8 +19,8 @@
case "$1" in
remove|deconfigure)
- /usr/share/@PACKAGE@/bin/unregister-plugin extratabs
- /usr/share/@PACKAGE@/plugins/extratabs/bin/db-delete.pl
+ /usr/share/@OLDPACKAGE@/bin/unregister-plugin extratabs
+ /usr/share/@OLDPACKAGE@/plugins/extratabs/bin/db-delete.pl
;;
upgrade|failed-upgrade)
;;
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-globalsearch.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-globalsearch.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-globalsearch.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE at -plugin-globalsearch
+# postinst script for @OLDPACKAGE at -plugin-globalsearch
#
# see: dh_installdeb(1)
@@ -25,8 +25,8 @@
case "$1" in
configure)
- /usr/share/@PACKAGE@/plugins/globalsearch/bin/db-upgrade.pl
- /usr/share/@PACKAGE@/bin/register-plugin globalsearch "Global Search"
+ /usr/share/@OLDPACKAGE@/plugins/globalsearch/bin/db-upgrade.pl
+ /usr/share/@OLDPACKAGE@/bin/register-plugin globalsearch "Global Search"
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-globalsearch.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-globalsearch.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-globalsearch.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE at -plugin-globalsearch
+# prerm script for @OLDPACKAGE at -plugin-globalsearch
#
# see: dh_installdeb(1)
@@ -19,8 +19,8 @@
case "$1" in
remove|deconfigure)
- /usr/share/@PACKAGE@/bin/unregister-plugin globalsearch
- /usr/share/@PACKAGE@/plugins/globalsearch/bin/db-delete.pl
+ /usr/share/@OLDPACKAGE@/bin/unregister-plugin globalsearch
+ /usr/share/@OLDPACKAGE@/plugins/globalsearch/bin/db-delete.pl
;;
upgrade|failed-upgrade)
;;
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-mediawiki.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-mediawiki.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-mediawiki.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE at -plugin-mediawiki
+# postinst script for @OLDPACKAGE at -plugin-mediawiki
#
# see: dh_installdeb(1)
@@ -25,8 +25,8 @@
case "$1" in
configure)
- /usr/share/@PACKAGE@/bin/register-plugin mediawiki "Mediawiki"
- @PACKAGE at -config
+ /usr/share/@OLDPACKAGE@/bin/register-plugin mediawiki "Mediawiki"
+ @OLDPACKAGE at -config
for flavour in apache apache-perl apache-ssl apache2 ; do
if [ -x /usr/sbin/$flavour ]; then
invoke-rc.d $flavour reload || true
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-mediawiki.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-mediawiki.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-mediawiki.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE at -plugin-mediawiki
+# prerm script for @OLDPACKAGE at -plugin-mediawiki
#
# see: dh_installdeb(1)
@@ -19,7 +19,7 @@
case "$1" in
remove|deconfigure)
- /usr/share/@PACKAGE@/bin/unregister-plugin mediawiki
+ /usr/share/@OLDPACKAGE@/bin/unregister-plugin mediawiki
invoke-rc.d apache reload
;;
upgrade|failed-upgrade)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-projectlabels.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-projectlabels.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-projectlabels.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE at -plugin-projectlabels
+# postinst script for @OLDPACKAGE at -plugin-projectlabels
#
# see: dh_installdeb(1)
@@ -25,8 +25,8 @@
case "$1" in
configure)
- /usr/share/@PACKAGE@/plugins/projectlabels/bin/db-upgrade.pl
- /usr/share/@PACKAGE@/bin/register-plugin projectlabels "Project Labels"
+ /usr/share/@OLDPACKAGE@/plugins/projectlabels/bin/db-upgrade.pl
+ /usr/share/@OLDPACKAGE@/bin/register-plugin projectlabels "Project Labels"
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-projectlabels.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-projectlabels.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-projectlabels.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE at -plugin-projectlabels
+# prerm script for @OLDPACKAGE at -plugin-projectlabels
#
# see: dh_installdeb(1)
@@ -19,8 +19,8 @@
case "$1" in
remove|deconfigure)
- /usr/share/@PACKAGE@/bin/unregister-plugin projectlabels
- /usr/share/@PACKAGE@/plugins/projectlabels/bin/db-delete.pl
+ /usr/share/@OLDPACKAGE@/bin/unregister-plugin projectlabels
+ /usr/share/@OLDPACKAGE@/plugins/projectlabels/bin/db-delete.pl
;;
upgrade|failed-upgrade)
;;
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmarch.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmarch.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmarch.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE at -plugin-scmarch
+# postinst script for @OLDPACKAGE at -plugin-scmarch
#
# see: dh_installdeb(1)
@@ -25,10 +25,10 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Prepare database
- su -s /bin/sh @PACKAGE@ -c '/usr/share/gforge/bin/register-plugin scmarch "Arch"'
+ su -s /bin/sh @OLDPACKAGE@ -c '/usr/share/gforge/bin/register-plugin scmarch "Arch"'
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmarch.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmarch.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmarch.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE at -plugin-scmarch
+# prerm script for @OLDPACKAGE at -plugin-scmarch
#
# see: dh_installdeb(1)
set -e
@@ -22,7 +22,7 @@
remove|deconfigure)
if [ -f /var/run/postgresql/.s.PGSQL.5432 ]
then
- /usr/share/@PACKAGE@/bin/unregister-plugin scmarch
+ /usr/share/@OLDPACKAGE@/bin/unregister-plugin scmarch
else
echo "WARNING: database not available to unregister scmarch plugin"
fi
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmbzr.init.d
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmbzr.init.d 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmbzr.init.d 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,18 +1,18 @@
#! /bin/sh
### BEGIN INIT INFO
-# Provides: @PACKAGE at -plugin-scmbzr
+# Provides: @OLDPACKAGE at -plugin-scmbzr
# Required-Start: $local_fs $network
# Required-Stop: $local_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
### END INIT INFO
#
-# Init script for @PACKAGE at -plugin-scmbzr Debian package.
+# Init script for @OLDPACKAGE at -plugin-scmbzr Debian package.
# Based on the script provided by loggerhead.
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="Loggerhead Bazaar Branch Browser for @FORGENAME@"
-NAME=@PACKAGE at -plugin-scmbzr
+NAME=@OLDPACKAGE at -plugin-scmbzr
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
@@ -20,9 +20,9 @@
[ -x /usr/bin/serve-branches ] || exit 0
# Check if configuration file is present
-[ ! -f /etc/@PACKAGE@/plugins/scmbzr/serve-branches.conf ] && exit 0
+[ ! -f /etc/@OLDPACKAGE@/plugins/scmbzr/serve-branches.conf ] && exit 0
-. /etc/@PACKAGE@/plugins/scmbzr/serve-branches.conf
+. /etc/@OLDPACKAGE@/plugins/scmbzr/serve-branches.conf
#
# Function that starts the daemon/service.
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmbzr.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmbzr.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmbzr.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE at -plugin-scmbzr
+# postinst script for @OLDPACKAGE at -plugin-scmbzr
#
# see: dh_installdeb(1)
@@ -25,10 +25,10 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Prepare database
- su -s /bin/sh @PACKAGE@ -c '/usr/share/gforge/bin/register-plugin scmbzr "Bazaar"'
+ su -s /bin/sh @OLDPACKAGE@ -c '/usr/share/gforge/bin/register-plugin scmbzr "Bazaar"'
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmbzr.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmbzr.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmbzr.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE at -plugin-scmbzr
+# prerm script for @OLDPACKAGE at -plugin-scmbzr
#
# see: dh_installdeb(1)
set -e
@@ -22,7 +22,7 @@
remove|deconfigure)
if [ -f /var/run/postgresql/.s.PGSQL.5432 ]
then
- /usr/share/@PACKAGE@/bin/unregister-plugin scmbzr
+ /usr/share/@OLDPACKAGE@/bin/unregister-plugin scmbzr
else
echo "WARNING: database not available to unregister scmbzr plugin"
fi
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcpold.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcpold.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcpold.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE at -plugin-scmcpold
+# postinst script for @OLDPACKAGE at -plugin-scmcpold
#
# see: dh_installdeb(1)
@@ -25,10 +25,10 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Prepare database
- su -s /bin/sh @PACKAGE@ -c '/usr/share/gforge/bin/register-plugin scmcpold "CPOLD"'
+ su -s /bin/sh @OLDPACKAGE@ -c '/usr/share/gforge/bin/register-plugin scmcpold "CPOLD"'
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcpold.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcpold.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcpold.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE at -plugin-scmcpold
+# prerm script for @OLDPACKAGE at -plugin-scmcpold
#
# see: dh_installdeb(1)
set -e
@@ -22,7 +22,7 @@
remove|deconfigure)
if [ -f /var/run/postgresql/.s.PGSQL.5432 ]
then
- /usr/share/@PACKAGE@/bin/unregister-plugin scmcpold
+ /usr/share/@OLDPACKAGE@/bin/unregister-plugin scmcpold
else
echo "WARNING: database not available to unregister scmcpold plugin"
fi
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcvs.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcvs.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcvs.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE at -plugin-scmcvs
+# postinst script for @OLDPACKAGE at -plugin-scmcvs
#
# see: dh_installdeb(1)
@@ -25,10 +25,10 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Prepare database
- su -s /bin/sh @PACKAGE@ -c '/usr/share/@PACKAGE@/bin/register-plugin scmcvs "CVS"'
+ su -s /bin/sh @OLDPACKAGE@ -c '/usr/share/@OLDPACKAGE@/bin/register-plugin scmcvs "CVS"'
test -f /etc/default/apache2 && . /etc/default/apache2
if [ "$NO_START" != "0" ]; then
if [ -x /usr/sbin/apache ]; then
@@ -40,20 +40,20 @@
fi
fi
# Setup our CVS
- /usr/share/@PACKAGE@/plugins/scmcvs/bin/install-cvs.sh configure
+ /usr/share/@OLDPACKAGE@/plugins/scmcvs/bin/install-cvs.sh configure
# Making user group and cvs update from database
- /usr/share/@PACKAGE@/plugins/scmcvs/bin/update-user-group-ssh.sh > /dev/null 2>&1
- rm -f /var/lib/@PACKAGE@/dumps/*cvs*dump
+ /usr/share/@OLDPACKAGE@/plugins/scmcvs/bin/update-user-group-ssh.sh > /dev/null 2>&1
+ rm -f /var/lib/@OLDPACKAGE@/dumps/*cvs*dump
- if [ ! -e /var/lib/@PACKAGE@/chroot/cvs ] ; then
- cd /var/lib/@PACKAGE@/chroot
+ if [ ! -e /var/lib/@OLDPACKAGE@/chroot/cvs ] ; then
+ cd /var/lib/@OLDPACKAGE@/chroot
ln -s cvsroot cvs
fi
# logs
- chown root:@PACKAGE@ /var/log/@PACKAGE@/cvs
- chmod 775 /var/log/@PACKAGE@/cvs
+ chown root:@OLDPACKAGE@ /var/log/@OLDPACKAGE@/cvs
+ chmod 775 /var/log/@OLDPACKAGE@/cvs
# Restart some services
[ -d /etc/ssh ] && invoke-rc.d ssh restart || true
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcvs.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcvs.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmcvs.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE at -plugin-scmcvs
+# prerm script for @OLDPACKAGE at -plugin-scmcvs
#
# see: dh_installdeb(1)
set -e
@@ -22,7 +22,7 @@
remove|deconfigure)
if [ -f /var/run/postgresql/.s.PGSQL.5432 ]
then
- /usr/share/@PACKAGE@/bin/unregister-plugin scmcvs
+ /usr/share/@OLDPACKAGE@/bin/unregister-plugin scmcvs
else
echo "WARNING: @FORGENAME@ database not available to unregister scmcvs plugin"
fi
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmdarcs.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmdarcs.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmdarcs.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE at -plugin-scmdarcs
+# postinst script for @OLDPACKAGE at -plugin-scmdarcs
#
# see: dh_installdeb(1)
@@ -25,10 +25,10 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Prepare database
- su -s /bin/sh @PACKAGE@ -c '/usr/share/gforge/bin/register-plugin scmdarcs "Darcs"'
+ su -s /bin/sh @OLDPACKAGE@ -c '/usr/share/gforge/bin/register-plugin scmdarcs "Darcs"'
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmdarcs.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmdarcs.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmdarcs.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE at -plugin-scmdarcs
+# prerm script for @OLDPACKAGE at -plugin-scmdarcs
#
# see: dh_installdeb(1)
set -e
@@ -22,7 +22,7 @@
remove|deconfigure)
if [ -f /var/run/postgresql/.s.PGSQL.5432 ]
then
- /usr/share/@PACKAGE@/bin/unregister-plugin scmdarcs
+ /usr/share/@OLDPACKAGE@/bin/unregister-plugin scmdarcs
else
echo "WARNING: database not available to unregister scmdarcs plugin"
fi
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmgit.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmgit.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmgit.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE at -plugin-scmgit
+# postinst script for @OLDPACKAGE at -plugin-scmgit
#
# see: dh_installdeb(1)
@@ -25,10 +25,10 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Prepare database
- su -s /bin/sh @PACKAGE@ -c '/usr/share/gforge/bin/register-plugin scmgit "Git"'
+ su -s /bin/sh @OLDPACKAGE@ -c '/usr/share/gforge/bin/register-plugin scmgit "Git"'
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmgit.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmgit.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmgit.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE at -plugin-scmgit
+# prerm script for @OLDPACKAGE at -plugin-scmgit
#
# see: dh_installdeb(1)
set -e
@@ -22,7 +22,7 @@
remove|deconfigure)
if [ -f /var/run/postgresql/.s.PGSQL.5432 ]
then
- /usr/share/@PACKAGE@/bin/unregister-plugin scmgit
+ /usr/share/@OLDPACKAGE@/bin/unregister-plugin scmgit
else
echo "WARNING: database not available to unregister scmgit plugin"
fi
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmhg.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmhg.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmhg.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE at -plugin-scmhg
+# postinst script for @OLDPACKAGE at -plugin-scmhg
#
# see: dh_installdeb(1)
@@ -25,10 +25,10 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Prepare database
- su -s /bin/sh @PACKAGE@ -c '/usr/share/gforge/bin/register-plugin scmhg "Mercurial"'
+ su -s /bin/sh @OLDPACKAGE@ -c '/usr/share/gforge/bin/register-plugin scmhg "Mercurial"'
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmhg.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmhg.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmhg.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE at -plugin-scmhg
+# prerm script for @OLDPACKAGE at -plugin-scmhg
#
# see: dh_installdeb(1)
set -e
@@ -22,7 +22,7 @@
remove|deconfigure)
if [ -f /var/run/postgresql/.s.PGSQL.5432 ]
then
- /usr/share/@PACKAGE@/bin/unregister-plugin scmhg
+ /usr/share/@OLDPACKAGE@/bin/unregister-plugin scmhg
else
echo "WARNING: database not available to unregister scmhg plugin"
fi
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmsvn.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmsvn.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmsvn.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE at -plugin-scmsvn
+# postinst script for @OLDPACKAGE at -plugin-scmsvn
#
# see: dh_installdeb(1)
@@ -25,10 +25,10 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Prepare database
- su -s /bin/sh @PACKAGE@ -c '/usr/share/gforge/bin/register-plugin scmsvn "Subversion"'
+ su -s /bin/sh @OLDPACKAGE@ -c '/usr/share/gforge/bin/register-plugin scmsvn "Subversion"'
test -f /etc/default/apache2 && . /etc/default/apache2
if [ "$NO_START" != "0" ]; then
if [ -x /usr/sbin/apache ]; then
@@ -40,7 +40,7 @@
fi
fi
# Setup inetd
- /usr/share/@PACKAGE@/plugins/scmsvn/bin/install-svn.sh configure
+ /usr/share/@OLDPACKAGE@/plugins/scmsvn/bin/install-svn.sh configure
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmsvn.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmsvn.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/plugin-scmsvn.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE at -plugin-scmsvn
+# prerm script for @OLDPACKAGE at -plugin-scmsvn
#
# see: dh_installdeb(1)
set -e
@@ -22,7 +22,7 @@
remove|deconfigure)
if [ -f /var/run/postgresql/.s.PGSQL.5432 ]
then
- /usr/share/@PACKAGE@/bin/unregister-plugin scmsvn
+ /usr/share/@OLDPACKAGE@/bin/unregister-plugin scmsvn
else
echo "WARNING: GForge database not available to unregister scmsvn plugin"
fi
@@ -36,7 +36,7 @@
invoke-rc.d --quiet apache2 reload
fi
fi
- /usr/share/@PACKAGE@/plugins/scmsvn/bin/install-svn.sh purge
+ /usr/share/@OLDPACKAGE@/plugins/scmsvn/bin/install-svn.sh purge
;;
upgrade|failed-upgrade)
;;
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/shell-postgresql.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/shell-postgresql.postinst 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/shell-postgresql.postinst 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE@
+# postinst script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -27,19 +27,19 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Patch NSS configuration files
- /usr/share/@PACKAGE@/bin/install-nsspgsql.sh configure-files
- ucf --debconf-ok /etc/nss-pgsql.conf. at PACKAGE@-new /etc/nss-pgsql.conf
- ucf --debconf-ok /etc/nss-pgsql-root.conf. at PACKAGE@-new /etc/nss-pgsql-root.conf
- ucf --debconf-ok /etc/nsswitch.conf. at PACKAGE@-new /etc/nsswitch.conf
- rm /etc/nss-pgsql.conf. at PACKAGE@-new
- rm /etc/nss-pgsql-root.conf. at PACKAGE@-new
- rm /etc/nsswitch.conf. at PACKAGE@-new
+ /usr/share/@OLDPACKAGE@/bin/install-nsspgsql.sh configure-files
+ ucf --debconf-ok /etc/nss-pgsql.conf. at OLDPACKAGE@-new /etc/nss-pgsql.conf
+ ucf --debconf-ok /etc/nss-pgsql-root.conf. at OLDPACKAGE@-new /etc/nss-pgsql-root.conf
+ ucf --debconf-ok /etc/nsswitch.conf. at OLDPACKAGE@-new /etc/nsswitch.conf
+ rm /etc/nss-pgsql.conf. at OLDPACKAGE@-new
+ rm /etc/nss-pgsql-root.conf. at OLDPACKAGE@-new
+ rm /etc/nsswitch.conf. at OLDPACKAGE@-new
# Install the chroot environment
- /usr/share/@PACKAGE@/bin/install-chroot.sh configure
+ /usr/share/@OLDPACKAGE@/bin/install-chroot.sh configure
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/shell-postgresql.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/shell-postgresql.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/shell-postgresql.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE@
+# prerm script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -22,13 +22,13 @@
db_title "Unconfiguring @FORGENAME@"
# Unpatch Slapd configuration files
- /usr/share/@PACKAGE@/bin/install-nsspgsql.sh purge-files
- ucf --debconf-ok /etc/nss-pgsql.conf. at PACKAGE@-new /etc/nss-pgsql.conf
- ucf --debconf-ok /etc/nss-pgsql-root.conf. at PACKAGE@-new /etc/nss-pgsql-root.conf
- ucf --debconf-ok /etc/nsswitch.conf. at PACKAGE@-new /etc/nsswitch.conf
- rm /etc/nss-pgsql.conf. at PACKAGE@-new
- rm /etc/nss-pgsql-root.conf. at PACKAGE@-new
- rm /etc/nsswitch.conf. at PACKAGE@-new
+ /usr/share/@OLDPACKAGE@/bin/install-nsspgsql.sh purge-files
+ ucf --debconf-ok /etc/nss-pgsql.conf. at OLDPACKAGE@-new /etc/nss-pgsql.conf
+ ucf --debconf-ok /etc/nss-pgsql-root.conf. at OLDPACKAGE@-new /etc/nss-pgsql-root.conf
+ ucf --debconf-ok /etc/nsswitch.conf. at OLDPACKAGE@-new /etc/nsswitch.conf
+ rm /etc/nss-pgsql.conf. at OLDPACKAGE@-new
+ rm /etc/nss-pgsql-root.conf. at OLDPACKAGE@-new
+ rm /etc/nsswitch.conf. at OLDPACKAGE@-new
ucf --purge /etc/libnss-pgsql.conf
ucf --purge /etc/libnss-pgsql-root.conf
ucf --purge /etc/nsswitch.conf
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2-vhosts.postinst.dsfh-in
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2-vhosts.postinst.dsfh-in 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2-vhosts.postinst.dsfh-in 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE@
+# postinst script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -27,7 +27,7 @@
case "$1" in
configure)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Make Apache see these new changes
invoke-rc.d apache2 reload || true
;;
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2-vhosts.postrm.dsfh-in
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2-vhosts.postrm.dsfh-in 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2-vhosts.postrm.dsfh-in 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postrm script for @PACKAGE@
+# postrm script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -18,7 +18,7 @@
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- @PACKAGE at -config
+ @OLDPACKAGE at -config
# Make Apache see these new changes
invoke-rc.d apache2 reload || true
;;
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2.postinst.dsfh-in
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2.postinst.dsfh-in 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2.postinst.dsfh-in 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# postinst script for @PACKAGE@
+# postinst script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -49,33 +49,33 @@
add_onevar_mainconfile cronolog_path /usr/bin/cronolog
fi
- if [ ! -e /etc/@PACKAGE@/ssl-cert.pem ] || [ ! -e /etc/@PACKAGE@/ssl-cert.key ] ; then
+ if [ ! -e /etc/@OLDPACKAGE@/ssl-cert.pem ] || [ ! -e /etc/@OLDPACKAGE@/ssl-cert.key ] ; then
# Uh-oh, no SSL cert, let's make sure at least a dummy one exists.
if [ ! -e /etc/ssl/certs/ssl-cert-snakeoil.pem ] || [ ! -e /etc/ssl/private/ssl-cert-snakeoil.key ] ; then
# What, not even the snakeoil cert is there? Let's generate it
make-ssl-cert generate-default-snakeoil
fi
# Right. At this point, it should be safe to set the symlinks.
- ln -s /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/@PACKAGE@/ssl-cert.pem
- ln -s /etc/ssl/private/ssl-cert-snakeoil.key /etc/@PACKAGE@/ssl-cert.key
- if grep -q ^sys_use_ssl=false$ /etc/@PACKAGE@/@PACKAGE at .conf \
- && grep -q ^sys_sslcrt=$ /etc/@PACKAGE@/@PACKAGE at .conf \
- && grep -q ^sys_sslkey=$ /etc/@PACKAGE@/@PACKAGE at .conf ; then
+ ln -s /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/@OLDPACKAGE@/ssl-cert.pem
+ ln -s /etc/ssl/private/ssl-cert-snakeoil.key /etc/@OLDPACKAGE@/ssl-cert.key
+ if grep -q ^sys_use_ssl=false$ /etc/@OLDPACKAGE@/@OLDPACKAGE at .conf \
+ && grep -q ^sys_sslcrt=$ /etc/@OLDPACKAGE@/@OLDPACKAGE at .conf \
+ && grep -q ^sys_sslkey=$ /etc/@OLDPACKAGE@/@OLDPACKAGE at .conf ; then
# Okay, previous installations failed to locate SSL certs
# and disabled SSL altogether. Let's fix that
- sed -i -e 's,^sys_use_ssl=false$,sys_use_ssl=true,' /etc/@PACKAGE@/@PACKAGE at .conf
- sed -i -e 's,^sys_sslcrt=$,sys_sslcrt=/etc/@PACKAGE@/ssl-cert.pem,' /etc/@PACKAGE@/@PACKAGE at .conf
- sed -i -e 's,^sys_sslkey=$,sys_sslkey=/etc/@PACKAGE@/ssl-cert.key,' /etc/@PACKAGE@/@PACKAGE at .conf
+ sed -i -e 's,^sys_use_ssl=false$,sys_use_ssl=true,' /etc/@OLDPACKAGE@/@OLDPACKAGE at .conf
+ sed -i -e 's,^sys_sslcrt=$,sys_sslcrt=/etc/@OLDPACKAGE@/ssl-cert.pem,' /etc/@OLDPACKAGE@/@OLDPACKAGE at .conf
+ sed -i -e 's,^sys_sslkey=$,sys_sslkey=/etc/@OLDPACKAGE@/ssl-cert.key,' /etc/@OLDPACKAGE@/@OLDPACKAGE at .conf
fi
fi
- @PACKAGE at -config
+ @OLDPACKAGE at -config
db_stop
# Setup our Apache
- touch /var/lib/@PACKAGE@/etc/templates/httpd.vhosts && \
- chown @PACKAGE@:@PACKAGE@ /var/lib/@PACKAGE@/etc/templates/httpd.vhosts && \
- /usr/share/@PACKAGE@/bin/create-vhosts.sh --norestart
+ touch /var/lib/@OLDPACKAGE@/etc/templates/httpd.vhosts && \
+ chown @OLDPACKAGE@:@OLDPACKAGE@ /var/lib/@OLDPACKAGE@/etc/templates/httpd.vhosts && \
+ /usr/share/@OLDPACKAGE@/bin/create-vhosts.sh --norestart
# Enable required modules
DEBIAN_FRONTEND=noninteractive a2enmod php5 || true
@@ -88,13 +88,13 @@
DEBIAN_FRONTEND=noninteractive a2enmod proxy_http || true
# Enable the @FORGENAME@ configuration
- if [ -e /etc/apache2/conf.d/@PACKAGE at .httpd.conf ] ; then
- rm -f /etc/apache2/conf.d/@PACKAGE at .httpd.conf
+ if [ -e /etc/apache2/conf.d/@OLDPACKAGE at .httpd.conf ] ; then
+ rm -f /etc/apache2/conf.d/@OLDPACKAGE at .httpd.conf
fi
- if [ -d /etc/apache2/sites-available ] && [ ! -e /etc/apache2/sites-available/@PACKAGE@ ] ; then
- ln -s /etc/@PACKAGE@/httpd.conf /etc/apache2/sites-available/@PACKAGE@
+ if [ -d /etc/apache2/sites-available ] && [ ! -e /etc/apache2/sites-available/@OLDPACKAGE@ ] ; then
+ ln -s /etc/@OLDPACKAGE@/httpd.conf /etc/apache2/sites-available/@OLDPACKAGE@
fi
- a2ensite @PACKAGE@
+ a2ensite @OLDPACKAGE@
# Make Apache see these new changes
invoke-rc.d apache2 restart || true
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2.prerm
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2.prerm 2011-02-28 02:59:05 UTC (rev 14241)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-in/web-apache2.prerm 2011-02-28 02:59:08 UTC (rev 14242)
@@ -1,5 +1,5 @@
#! /bin/sh
-# prerm script for @PACKAGE@
+# prerm script for @OLDPACKAGE@
#
# see: dh_installdeb(1)
@@ -19,8 +19,8 @@
case "$1" in
remove)
- a2dissite @PACKAGE@ || true
- rm -f /etc/apache2/sites-available/@PACKAGE@
+ a2dissite @OLDPACKAGE@ || true
+ rm -f /etc/apache2/sites-available/@OLDPACKAGE@
invoke-rc.d apache2 reload || true
;;
upgrade|deconfigure|failed-upgrade)
More information about the evolvis-commits
mailing list