diff options
Diffstat (limited to 'lib/srtmain/management/commands')
-rwxr-xr-x | lib/srtmain/management/commands/update.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/srtmain/management/commands/update.py b/lib/srtmain/management/commands/update.py index 8f746aea..8304e199 100755 --- a/lib/srtmain/management/commands/update.py +++ b/lib/srtmain/management/commands/update.py @@ -36,6 +36,7 @@ class Command(BaseCommand): context = '> /dev/null 2>&1 &' if 'cron_start' == options['command'] else '' update_command = "./bin/common/srtool_update.py %s %s %s %s %s %s" % (command,name_filter,force,is_trial,verbose,context) - print("RUN: %s" % (update_command)) + if verbose: + print("RUN UPDATE SCRIPT: %s" % (update_command)) os.chdir(os.environ['SRT_BASE_DIR']) os.system("%s" % (update_command)) |