svn commit: r766224 - in /ofbiz/trunk/debian: ofbiz-framework.config ofbiz-framework.postinst ofbiz-framework.postrm

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r766224 - in /ofbiz/trunk/debian: ofbiz-framework.config ofbiz-framework.postinst ofbiz-framework.postrm

doogie-3
Author: doogie
Date: Sat Apr 18 05:57:07 2009
New Revision: 766224

URL: http://svn.apache.org/viewvc?rev=766224&view=rev
Log:
Rename the auto-managed dbconfig-common config file from debconf.cfg
to dbc-debconf.cfg.

Modified:
    ofbiz/trunk/debian/ofbiz-framework.config
    ofbiz/trunk/debian/ofbiz-framework.postinst
    ofbiz/trunk/debian/ofbiz-framework.postrm

Modified: ofbiz/trunk/debian/ofbiz-framework.config
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz-framework.config?rev=766224&r1=766223&r2=766224&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.config (original)
+++ ofbiz/trunk/debian/ofbiz-framework.config Sat Apr 18 05:57:07 2009
@@ -35,8 +35,8 @@
  . /usr/share/dbconfig-common/dpkg/config
  dbc_go ofbiz $@
 fi
-if [ -r "/etc/ofbiz/debconf.cfg" ]; then
- . "/etc/ofbiz/debconf.cfg"
+if [ -r "/etc/ofbiz/dbc-debconf.cfg" ]; then
+ . "/etc/ofbiz/dbc-debconf.cfg"
 fi
 set_if() {
  if [ "$2" ]; then

Modified: ofbiz/trunk/debian/ofbiz-framework.postinst
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz-framework.postinst?rev=766224&r1=766223&r2=766224&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.postinst (original)
+++ ofbiz/trunk/debian/ofbiz-framework.postinst Sat Apr 18 05:57:07 2009
@@ -163,11 +163,11 @@
 
 . /usr/share/debconf/confmodule
 . /usr/share/dbconfig-common/dpkg/postinst
-dbc_generate_include=sh:/etc/ofbiz/debconf.cfg
+dbc_generate_include=sh:/etc/ofbiz/dbc-debconf.cfg
 [ "$1" != "triggered" ] && dbc_go ofbiz "$@"
-if [ -e /etc/ofbiz/debconf.cfg ]; then
+if [ -e /etc/ofbiz/dbc-debconf.cfg ]; then
  ofbiz_admin_key=""
- . /etc/ofbiz/debconf.cfg
+ . /etc/ofbiz/dbc-debconf.cfg
 else
  ofbiz_admin_key="$(get_random_chars 32)"
  ofbiz_readers=""

Modified: ofbiz/trunk/debian/ofbiz-framework.postrm
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz-framework.postrm?rev=766224&r1=766223&r2=766224&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.postrm (original)
+++ ofbiz/trunk/debian/ofbiz-framework.postrm Sat Apr 18 05:57:07 2009
@@ -29,9 +29,9 @@
 
 case "$1" in
  (purge)
- rm -f /etc/ofbiz/debconf.cfg
- if which ucf >/dev/null; then ucf --purge /etc/ofbiz/debconf.cfg; fi
- if which ucfr >/dev/null; then ucfr --purge ofbiz /etc/ofbiz/debconf.cfg; fi
+ rm -f /etc/ofbiz/dbc-debconf.cfg
+ if which ucf >/dev/null; then ucf --purge /etc/ofbiz/dbc-debconf.cfg; fi
+ if which ucfr >/dev/null; then ucfr --purge ofbiz /etc/ofbiz/dbc-debconf.cfg; fi
  find /var/log/ofbiz -mindepth 1 -maxdepth 1 -print0 | xargs -0 --no-run-if-empty rm -rf
  dpkg-statoverride --remove /var/lib/ofbiz
  ;;