Workaround for Bug 93 - /var/lib/slc/.m2 should belong to slc.slc
authorMathieu Baudier <mbaudier@argeo.org>
Wed, 28 Mar 2012 10:41:19 +0000 (10:41 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Wed, 28 Mar 2012 10:41:19 +0000 (10:41 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@5251 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

dist/slc/src/main/scripts/postinstall

index 6a343adef03d941bde36be8c4aa436031187ed88..29e5822718645a0ac5b0463aaf5540276dccca50 100644 (file)
@@ -2,4 +2,7 @@ if [ $1 = "1" ];then
        APP=%{name}
        /sbin/chkconfig --add $APP
        /sbin/chkconfig --level 3 $APP on
-fi
\ No newline at end of file
+fi
+
+# Workaround until we find a way to do it in the spec file
+chown -f slc.slc /var/lib/slc/.m2