Skip to content

Commit

Permalink
Move clean_pyc() before install_rc in the postinstall
Browse files Browse the repository at this point in the history
install_rc() triggers the pushasset, which will benefit from the purged
python bytecode files.
  • Loading branch information
cvaroqui committed May 22, 2018
1 parent 80d5dee commit 6f536f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/postinstall
Expand Up @@ -1265,6 +1265,7 @@ try:
missing_dirs()
convert_svclinks()
install_cron()
clean_pyc()
install_rc()
gen_keys()
install_profile()
Expand All @@ -1278,7 +1279,6 @@ try:
convert_to_lsb()
move_env_to_conf()
move_var_files_19()
clean_pyc()
dump_install_content()
restart_daemon()
init_secret()
Expand Down

0 comments on commit 6f536f4

Please sign in to comment.