]> git.e2factory.org Git - e2factory.git/commitdiff
e2-install-e2: remove local plugins before installing new local tools
authorGordon Hecker <gh@emlix.com>
Mon, 4 Oct 2010 14:15:40 +0000 (16:15 +0200)
committerGordon Hecker <gh@emlix.com>
Thu, 7 Oct 2010 11:44:03 +0000 (13:44 +0200)
Signed-off-by: Gordon Hecker <gh@emlix.com>
global/e2-install-e2.lua.in

index d7b64e2b9881c71c7ad0de62aae19ada50312f73..8afa30e97a28cd40c0d7eca294e1e51bd87a6a2b 100755 (executable)
@@ -97,8 +97,8 @@ end
 
 -- version is 1 or 2
 
--- remove the old e2 source, if it exists
-rc, re = e2lib.rm(".e2/e2 .e2/bin .e2/lib", "-fr")
+-- remove the old e2 source, installation and plugins, if it exists
+rc, re = e2lib.rm(".e2/e2 .e2/bin .e2/lib .e2/plugins", "-fr")
 if not rc then
   e2lib.abort(e:cat(re))
 end