From d1ce53893d8955468e44605989a73bb73bec628f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Le=20Ninivin?= <cedric.leninivin@tiolive.com> Date: Tue, 4 Sep 2012 12:04:46 +0200 Subject: [PATCH] Added slapupdate to slapprepare --- slapprepare/setup.py | 1 + .../slapupdate => slapprepare/slapprepare/slapupdate.py | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) rename server-update/slapupdate => slapprepare/slapprepare/slapupdate.py (99%) diff --git a/slapprepare/setup.py b/slapprepare/setup.py index 44f3fcb..f5271f7 100644 --- a/slapprepare/setup.py +++ b/slapprepare/setup.py @@ -21,6 +21,7 @@ setup(name=name, entry_points={ 'console_scripts': [ 'slapprepare = slapprepare:slapprepare', + 'slapupdate = slapprepare.slapupdate:main', ] }, ) diff --git a/server-update/slapupdate b/slapprepare/slapprepare/slapupdate.py similarity index 99% rename from server-update/slapupdate rename to slapprepare/slapprepare/slapupdate.py index de8ed42..9055f69 100644 --- a/server-update/slapupdate +++ b/slapprepare/slapprepare/slapupdate.py @@ -306,7 +306,3 @@ def main(): #config.displayUserConfig() update_machine(config) sys.exit() - - -if __name__ == "__main__": - main() -- 2.30.9