Merge branch 'master' of ssh://git.planet-lab.org/git/plstackapi
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 @@
/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