mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
0e93305a10
commit
007e06dfa5
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user