From 9b6b9fa3a4e5874f5e4884ea0dec0885788d36e0 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 12 Oct 2014 17:10:33 +0200 Subject: [PATCH] wording --- update.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update.py b/update.py index 9bb39731..d9da9da9 100755 --- a/update.py +++ b/update.py @@ -55,7 +55,7 @@ repos = { } def reload_notice(base): - print '\nYou might need to restart pandora to finish the update:\n\t"sudo %s/ctl reload"\n' % base + print '\nPlease restart pan.do/ra to finish the update:\n\t"sudo %s/ctl reload"\n' % base if __name__ == "__main__": base = os.path.normpath(os.path.abspath(os.path.dirname(__file__))) @@ -152,11 +152,11 @@ if __name__ == "__main__": if pandora_old_revno != pandora_new_revno: os.chdir(base) run('./update.py', 'postupdate', pandora_old_revno, pandora_new_revno) - if not development: - print 'pan.do/ra is at the latest stable release, you can run "./update.py dev" to update to the development version' os.chdir(join(base, 'pandora')) diff = get('./manage.py', 'sqldiff', '-a').strip() if diff != '-- No differences': print 'Database has changed, please make a backup and run ./update.py db' + elif not development: + print 'pan.do/ra is at the latest stable release,\nyou can run "./update.py dev" to update to the development version' elif current != new: reload_notice(base)