[node-patches] Change in ovirt-node-iso[ovirt-3.6]: Be tolerant on removal

fabiand at redhat.com fabiand at redhat.com
Fri Jan 22 10:32:00 UTC 2016


Fabian Deutsch has uploaded a new change for review.

Change subject: Be tolerant on removal
......................................................................

Be tolerant on removal

Change-Id: Id1e681a7e7e3c5eeddda7e97a3ed1aab6893f448
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M recepie-downloader.sh.in
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node-iso refs/changes/99/52599/1

diff --git a/recepie-downloader.sh.in b/recepie-downloader.sh.in
index ceb4ed3..ca4d87a 100644
--- a/recepie-downloader.sh.in
+++ b/recepie-downloader.sh.in
@@ -10,8 +10,8 @@
 		sudo yum install ovirt-node-plugin-vdsm-recipe -y --nogpgcheck
 		;;
 	"remove")
-		sudo yum erase ovirt-node-recipe -y
-		sudo yum erase ovirt-node-plugin-vdsm-recipe -y
+		sudo yum erase ovirt-node-plugin-vdsm-recipe -y || :
+		sudo yum erase ovirt-node-recipe -y || :
 		;;
 	"remove-repo")
 		sudo rm -rf /etc/yum.repos.d/resources.ovirt.org*.repo


-- 
To view, visit https://gerrit.ovirt.org/52599
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id1e681a7e7e3c5eeddda7e97a3ed1aab6893f448
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-iso
Gerrit-Branch: ovirt-3.6
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list