From 007e06dfa5ad1c7026baf7fe40e3079a66e5b047 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 25 Jul 2010 18:14:39 -0600 Subject: [PATCH] ... --- src/calibre/linux.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/calibre/linux.py b/src/calibre/linux.py index fff7e5d969..9323581c53 100644 --- a/src/calibre/linux.py +++ b/src/calibre/linux.py @@ -41,6 +41,7 @@ entry_points = { ], } +# Uninstall script {{{ UNINSTALL = '''\ #!{python} euid = {euid} @@ -81,6 +82,8 @@ for f in mr: os.remove(os.path.abspath(__file__)) ''' +# }}} + class PostInstall: def task_failed(self, msg): @@ -323,7 +326,7 @@ class PostInstall: self.task_failed('Installing MAN pages failed') # }}} - def setup_desktop_integration(self): + def setup_desktop_integration(self): # {{{ try: self.info('Setting up desktop integration...') @@ -382,6 +385,8 @@ class PostInstall: raise self.task_failed('Setting up desktop integration failed') + # }}} + def option_parser(): from calibre.utils.config import OptionParser parser = OptionParser()