Yaniv Dary has uploaded a new change for review.

Change subject: packaging: fixed war removal on package removal (#977360)
......................................................................

packaging: fixed war removal on package removal (#977360)

Bug-Url: https://bugzilla.redhat.com/977360

Change-Id: I3c2112f146aa2d6974dbc68d7aae16b325374062
Signed-off-by: Yaniv Dary <[email protected]>
---
M packaging/ovirt-engine-reports.spec.in
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-reports refs/changes/42/16042/1

diff --git a/packaging/ovirt-engine-reports.spec.in 
b/packaging/ovirt-engine-reports.spec.in
index 71276ff..0357a56 100644
--- a/packaging/ovirt-engine-reports.spec.in
+++ b/packaging/ovirt-engine-reports.spec.in
@@ -104,9 +104,9 @@
 %postun
 %update_maven_depmap
 if [ "$1" -eq 0 ]; then
-    if [ -d /usr/share/ovirt-engine/%{reports_name}.war ]; then
-        rm -rf /usr/share/ovirt-engine/%{reports_name}.war
-        rm -rf /var/lib/ovirt-engine/deployments/%{reports_name}.war*
+    if [ -d /usr/share/ovirt-engine/%{name}.war ]; then
+        rm -rf /usr/share/ovirt-engine/%{name}.war
+        rm -rf /var/lib/ovirt-engine/deployments/%{name}.war*
     fi
     if [ -f /etc/ovirt-engine/jrs-deployment.version ]; then
         rm -rf /etc/ovirt-engine/jrs-deployment.version


-- 
To view, visit http://gerrit.ovirt.org/16042
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3c2112f146aa2d6974dbc68d7aae16b325374062
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-reports
Gerrit-Branch: master
Gerrit-Owner: Yaniv Dary <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to