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()