mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 02:24:02 +02:00
...
This commit is contained in:
parent
0e93305a10
commit
007e06dfa5
1 changed files with 6 additions and 1 deletions
|
|
@ -41,6 +41,7 @@
|
|||
],
|
||||
}
|
||||
|
||||
# Uninstall script {{{
|
||||
UNINSTALL = '''\
|
||||
#!{python}
|
||||
euid = {euid}
|
||||
|
|
@ -81,6 +82,8 @@
|
|||
os.remove(os.path.abspath(__file__))
|
||||
'''
|
||||
|
||||
# }}}
|
||||
|
||||
class PostInstall:
|
||||
|
||||
def task_failed(self, msg):
|
||||
|
|
@ -323,7 +326,7 @@ def install_man_pages(self): # {{{
|
|||
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 @@ def write_mimetypes(f):
|
|||
raise
|
||||
self.task_failed('Setting up desktop integration failed')
|
||||
|
||||
# }}}
|
||||
|
||||
def option_parser():
|
||||
from calibre.utils.config import OptionParser
|
||||
parser = OptionParser()
|
||||
|
|
|
|||
Loading…
Reference in a new issue