svn commit: r835092 - in /ofbiz/trunk/debian: changelog ofbiz-framework.dirs ofbiz-framework.links 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: r835092 - in /ofbiz/trunk/debian: changelog ofbiz-framework.dirs ofbiz-framework.links ofbiz-framework.postinst ofbiz-framework.postrm

doogie-3
Author: doogie
Date: Wed Nov 11 21:58:58 2009
New Revision: 835092

URL: http://svn.apache.org/viewvc?rev=835092&view=rev
Log:
Create runtime/uploads correctly.

Modified:
    ofbiz/trunk/debian/changelog
    ofbiz/trunk/debian/ofbiz-framework.dirs
    ofbiz/trunk/debian/ofbiz-framework.links
    ofbiz/trunk/debian/ofbiz-framework.postinst
    ofbiz/trunk/debian/ofbiz-framework.postrm

Modified: ofbiz/trunk/debian/changelog
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/changelog?rev=835092&r1=835091&r2=835092&view=diff
==============================================================================
--- ofbiz/trunk/debian/changelog (original)
+++ ofbiz/trunk/debian/changelog Wed Nov 11 21:58:58 2009
@@ -6,6 +6,7 @@
   * Chown debconf.cfg after the ofbiz group is created.
   * Don't have per-package var folders.
   * Fix bashism in /etc/init.d/ofbiz.
+  * Create runtime/uploads correctly.
 
  -- Adam Heath <[hidden email]>  Fri, 04 Sep 2009 16:41:32 -0500
 

Modified: ofbiz/trunk/debian/ofbiz-framework.dirs
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz-framework.dirs?rev=835092&r1=835091&r2=835092&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.dirs (original)
+++ ofbiz/trunk/debian/ofbiz-framework.dirs Wed Nov 11 21:58:58 2009
@@ -1,5 +1,5 @@
 usr/share/ofbiz/support
 etc/ofbiz
 var/cache/ofbiz
-var/lib/ofbiz
+var/lib/ofbiz/runtime/uploads
 var/log/ofbiz

Modified: ofbiz/trunk/debian/ofbiz-framework.links
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz-framework.links?rev=835092&r1=835091&r2=835092&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.links (original)
+++ ofbiz/trunk/debian/ofbiz-framework.links Wed Nov 11 21:58:58 2009
@@ -1,2 +1,3 @@
 usr/share/java/postgresql.jar usr/share/ofbiz/framework/entity/lib/jdbc/postgresql.jar
 usr/share/java/mysql.jar usr/share/ofbiz/framework/entity/lib/jdbc/mysql.jar
+var/lib/ofbiz/runtime/uploads usr/share/ofbiz/runtime/uploads

Modified: ofbiz/trunk/debian/ofbiz-framework.postinst
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz-framework.postinst?rev=835092&r1=835091&r2=835092&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.postinst (original)
+++ ofbiz/trunk/debian/ofbiz-framework.postinst Wed Nov 11 21:58:58 2009
@@ -151,9 +151,11 @@
  if [ -r "/etc/ofbiz/debconf.cfg" ]; then
  chown root:ofbiz "/etc/ofbiz/debconf.cfg"
  fi
- if ! dpkg-statoverride --list "/var/lib/ofbiz" > /dev/null; then
- dpkg-statoverride --update --add ofbiz ofbiz 755 /var/lib/ofbiz
- fi
+ for dir in "/var/lib/ofbiz" "/var/lib/ofbiz/runtime/uploads"; do
+ if ! dpkg-statoverride --list "$dir" > /dev/null; then
+ dpkg-statoverride --update --add ofbiz ofbiz 755 "$dir"
+ fi
+ done
  fi
  ;;
 esac

Modified: ofbiz/trunk/debian/ofbiz-framework.postrm
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz-framework.postrm?rev=835092&r1=835091&r2=835092&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.postrm (original)
+++ ofbiz/trunk/debian/ofbiz-framework.postrm Wed Nov 11 21:58:58 2009
@@ -34,6 +34,7 @@
  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
+ dpkg-statoverride --remove /var/lib/ofbiz/runtime/uploads
  ;;
 esac