mirror of
https://github.com/pulb/mailnag.git
synced 2026-05-07 06:27:13 +02:00
renamed Mailnag daemon script to 'mailnagd'
This commit is contained in:
@@ -42,7 +42,7 @@ def main():
|
||||
# the launched daemon shuts down
|
||||
# an already running daemon
|
||||
print "Launching Mailnag daemon."
|
||||
subprocess.Popen(os.path.join(BIN_DIR, "mailnag"))
|
||||
subprocess.Popen(os.path.join(BIN_DIR, "mailnagd"))
|
||||
except:
|
||||
print "ERROR: Failed to launch Mailnag daemon."
|
||||
else:
|
||||
|
||||
@@ -254,7 +254,7 @@ class ConfigWindow:
|
||||
# get current working directory
|
||||
curdir = os.getcwd()
|
||||
# path to mailnag startscript
|
||||
exec_file = os.path.join(curdir, "mailnag")
|
||||
exec_file = os.path.join(curdir, "mailnagd")
|
||||
|
||||
content = "\n" + \
|
||||
"[Desktop Entry]\n" + \
|
||||
|
||||
2
setup.py
2
setup.py
@@ -56,7 +56,7 @@ class BuildData(build):
|
||||
shutil.copytree('Mailnag/common', os.path.join(BUILD_PATCH_DIR, 'common'))
|
||||
|
||||
# patch paths
|
||||
self._patch_file('./mailnag', os.path.join(BUILD_PATCH_DIR, 'mailnag'), './Mailnag', INSTALL_LIB_DIR)
|
||||
self._patch_file('./mailnagd', os.path.join(BUILD_PATCH_DIR, 'mailnagd'), './Mailnag', INSTALL_LIB_DIR)
|
||||
self._patch_file('./mailnag_config', os.path.join(BUILD_PATCH_DIR, 'mailnag_config'), './Mailnag', INSTALL_LIB_DIR)
|
||||
self._patch_file('./data/mailnag_config.desktop', os.path.join(BUILD_PATCH_DIR, 'mailnag_config.desktop'), '/usr', PREFIX)
|
||||
self._patch_file(os.path.join(BUILD_PATCH_DIR, 'common/dist_cfg.py'), os.path.join(BUILD_PATCH_DIR, 'common/dist_cfg.py'),
|
||||
|
||||
Reference in New Issue
Block a user