[docker-io/el6] having to resort to posttrans
Adam Miller
maxamillion at fedoraproject.org
Thu Jun 19 23:27:15 UTC 2014
commit bf9d1203e4ee2ff6c7b6815ad62ba2346d7411a6
Author: Adam Miller <admiller at redhat.com>
Date: Thu Jun 19 18:27:08 2014 -0500
having to resort to posttrans
docker-io.spec | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/docker-io.spec b/docker-io.spec
index 8a6efbc..2568802 100644
--- a/docker-io.spec
+++ b/docker-io.spec
@@ -151,6 +151,12 @@ fi
# Needed only during upgrades
if [ $1 -ge 1 ] ; then
/sbin/service docker condrestart >/dev/null 2>&1 || :
+fi
+
+%posttrans
+# This is a dirty hack to clean up old-%preun
+# Needed only during upgrades
+if [ $1 -ge 1 ] ; then
# docker-io-1.0.0-3.el6.x86_64 caused an issue with upgrades
# and chkconfig. Need to clean it up.
if ! /sbin/chkconfig --list docker >/dev/null 2>&1 ; then
More information about the scm-commits
mailing list