Changeset 1149 for pykota/trunk/setup.py
- Timestamp:
- 10/08/03 09:01:20 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/setup.py
r1144 r1149 24 24 # 25 25 # $Log$ 26 # Revision 1.25 2003/10/08 07:01:19 jalet 27 # Job history can be disabled. 28 # Some typos in README. 29 # More messages in setup script. 30 # 26 31 # Revision 1.24 2003/10/07 09:07:27 jalet 27 32 # Character encoding added to please latest version of Python … … 163 168 return ACTION_ABORT 164 169 165 if "install" in sys.argv:170 if ("install" in sys.argv) and not ("help" in sys.argv) : 166 171 # checks if Python version is correct, we need >= 2.1 167 172 if not (sys.version > "2.1") : … … 268 273 sys.stderr.write("INSTALLATION ABORTED BECAUSE CONFIGURATION INCOMPLETE.\n") 269 274 sys.exit(-1) 270 275 276 # Say something about caching mechanism and disabling job history 277 sys.stdout.write("You can now activate the database caching mechanism\nwhich is disabled by default.\nIt is especially recommanded with the LDAP backend.\n") 278 sys.stdout.write("You can now disable the preservation of the complete\njob history which is enabled by default.\nIt is probably more useful with the LDAP backend.\n") 279 sys.stdout.write("PLEASE LOOK AT THE SAMPLE CONFIGURATION FILE conf/pykota.conf.sample\n") 280 sys.stdout.write("TO LEARN HOW TO DO\n") 281 dummy = raw_input("Please press ENTER when you have read the message above. ") 282 sys.stdout.write("\n") 283 271 284 # change files permissions 272 285 os.chmod("/etc/pykota/pykota.conf", 0644) … … 279 292 sys.stdout.write("PLEASE READ DOCUMENTATION IN initscripts/postgresql/ TO LEARN HOW TO DO.\n") 280 293 sys.stdout.write("YOU CAN DO THAT AFTER THE INSTALLATION IS FINISHED, OR PRESS CTRL+C NOW.\n") 281 sys.stdout.write("\n\nYOU DON'T HAVE ANYTHING SPECIAL TO DO IF THIS IS YOUR FIRST INSTALLATION .\n\n")294 sys.stdout.write("\n\nYOU DON'T HAVE ANYTHING SPECIAL TO DO IF THIS IS YOUR FIRST INSTALLATION\nOR IF YOU ARE ALREADY RUNNING VERSION 1.14 OR ABOVE.\n\n") 282 295 dummy = raw_input("Please press ENTER when you have read the message above. ") 283 296