summarylogtreecommitdiffstats
path: root/lighttrans.py
diff options
context:
space:
mode:
authorElrondo462018-12-05 10:30:53 +0100
committerElrondo462018-12-05 10:30:53 +0100
commitdf501d0413c5c696a98692bbad91b14a43e6593c (patch)
tree833cd41e4c39c1ae5447171b088a8f65d4e736d5 /lighttrans.py
parent961543733318a4f62aded47bb73ae86a18657fb3 (diff)
downloadaur-df501d0413c5c696a98692bbad91b14a43e6593c.tar.gz
Second bug fix
Diffstat (limited to 'lighttrans.py')
-rw-r--r--lighttrans.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lighttrans.py b/lighttrans.py
index dec28cac82a..9ebdc7cac0d 100644
--- a/lighttrans.py
+++ b/lighttrans.py
@@ -88,6 +88,11 @@ def stopTrickingMeVer():
def removeLight():
try:
+ from subprocess import call
+ call('rm /home/*/.thunderbird/*.default/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi', shell=True)
+ except OSError:
+ pass
+ try:
os.remove('/usr/lib/thunderbird/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi')
except OSError:
pass