From 2a7a53f547de0aee673a98df77bd88ca420f643e Mon Sep 17 00:00:00 2001
From: Olivier SOLDANO <olivier.soldano@savoirfairelinux.com>
Date: Fri, 7 Oct 2016 11:24:11 -0400
Subject: [PATCH] make-ring.py: uninstall script correction

I made a little change in the UNINSTALL_SCRIPT for gnome
as it wasn't working for local installation (targeting build-global folders only)
In order to achieve functionality of the script I had to completelly
delete the build-* folders in each lrc and client-gnome, for making
it generic in local and global mode.

Change-Id: I51d8a9e75de0c90c398533663c70940f92f8cd67
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
---
 make-ring.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/make-ring.py b/make-ring.py
index 9fd6bf0c..1afe11dc 100755
--- a/make-ring.py
+++ b/make-ring.py
@@ -172,8 +172,10 @@ IOS_DEPENDENCIES_UNLINK = [
 
 UNINSTALL_SCRIPT = [
     'make -C daemon uninstall',
-    'xargs rm < lrc/build-global/install_manifest.txt',
-    'xargs rm < client-gnome/build-global/install_manifest.txt',
+    'rm -rf ./lrc/build-global/',
+    'rm -rf ./lrc/build-local/',
+    'rm -rf ./client-gnome/build-global',
+    'rm -rf ./client-gnome/build-local',
 ]
 
 OSX_UNINSTALL_SCRIPT = [
-- 
GitLab