mirror of https://github.com/zulip/zulip.git
provision: Add cd /srv/zulip to .bashrc only if /srv/zulip exists.
This commit is contained in:
parent
d703e3638e
commit
fdcae3b0b7
|
@ -275,6 +275,7 @@ def setup_shell_profile(shell_profile):
|
|||
|
||||
source_activate_command = "source " + os.path.join(VENV_PATH, "bin", "activate")
|
||||
write_command(source_activate_command)
|
||||
if os.path.exists('/srv/zulip'):
|
||||
write_command('cd /srv/zulip')
|
||||
|
||||
def install_system_deps():
|
||||
|
|
Loading…
Reference in New Issue