From 131ed4702e69c177967df42b091e3eaae72e20e1 Mon Sep 17 00:00:00 2001 From: Kevron Rees Date: Thu, 19 Sep 2013 15:57:03 -0700 Subject: [PATCH] uninstall wgt on rpm uninstall Change-Id: I59ab8e3ea9aa58946f5c0e4b8dd20860cfa056c8 --- packaging/GhostCluster.changes | 3 +++ packaging/GhostCluster.spec | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/packaging/GhostCluster.changes b/packaging/GhostCluster.changes index 274b0ec..7198702 100644 --- a/packaging/GhostCluster.changes +++ b/packaging/GhostCluster.changes @@ -1,3 +1,6 @@ +* Thu Sep 19 2013 Kevron Rees +- uninstall the widget on zypper rm + * Mon Sep 16 2013 Kevron Rees - check vehicleSpeed before proceeding so we don't throw diff --git a/packaging/GhostCluster.spec b/packaging/GhostCluster.spec index d558c3a..a08c614 100644 --- a/packaging/GhostCluster.spec +++ b/packaging/GhostCluster.spec @@ -30,6 +30,10 @@ if [ -f /opt/usr/apps/.preinstallWidgets/preinstallDone ]; then wrt-installer -i /opt/usr/apps/.preinstallWidgets/GhostCluster.wgt; fi +%postun + +wrt-installer -un GV3ySIINq7.GhostCluster + %files %defattr(-,root,root,-) #%manifest gc.manifest -- 2.7.4