cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r1178592 - /cassandra/branches/cassandra-0.8/debian/cassandra.postinst
Date Mon, 03 Oct 2011 21:41:30 GMT
Author: eevans
Date: Mon Oct  3 21:41:30 2011
New Revision: 1178592

URL: http://svn.apache.org/viewvc?rev=1178592&view=rev
Log:
set ownership on new installs

Patch by Sylvain Lebresne; reviewed by eevans for CASSANDRA-3198

Modified:
    cassandra/branches/cassandra-0.8/debian/cassandra.postinst

Modified: cassandra/branches/cassandra-0.8/debian/cassandra.postinst
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/debian/cassandra.postinst?rev=1178592&r1=1178591&r2=1178592&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.8/debian/cassandra.postinst (original)
+++ cassandra/branches/cassandra-0.8/debian/cassandra.postinst Mon Oct  3 21:41:30 2011
@@ -34,7 +34,7 @@ case "$1" in
                 cassandra
         fi
 
-        if [ -n "$2" ] && dpkg --compare-versions "$2" le 0.6.4-2; then
+        if [ -z "$2" ]; then
             chown -R cassandra: /var/lib/cassandra
             chown -R cassandra: /var/log/cassandra
         fi



Mime
View raw message