From: Scott Baker Date: Wed, 9 Apr 2014 06:47:11 +0000 (-0700) Subject: fix /opt/planetstack deleted on update; bump version number X-Git-Url: http://git.onelab.eu/?p=plstackapi.git;a=commitdiff_plain;h=4cd29251687ddc68a553d8d9d1ef3ea47e30dbee fix /opt/planetstack deleted on update; bump version number --- diff --git a/opencloud.spec b/opencloud.spec index 9fe27a9..cee6193 100644 --- a/opencloud.spec +++ b/opencloud.spec @@ -1,7 +1,7 @@ Summary: OpenCloud core services Name: opencloud -Version: 1.0.5 -Release: 2 +Version: 1.0.6 +Release: 1 License: GPL+ Group: Development/Tools Source0: %{_tmppath}/%{name}-%{version}.tar.gz @@ -71,7 +71,9 @@ rm -rf %{buildroot} /opt/planetstack/scripts/opencloud initdb %preun -rm -rf /opt/planetstack +if [ "$1" = 0 ] ; then + rm -rf /opt/planetstack +fi %changelog * Sat Feb 22 2014 Siobhan Tully 1.0.0