File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2042,6 +2042,10 @@ write_config_value "SERVER_SMTP_PASSWD" ""
20422042write_config_value " SERVER_SMTP_ADDR" " "
20432043write_config_value " POLICY_CSRF_STRICTNESS" " 1"
20442044
2045+ # Add /usr/local/hestia/bin/ to path variable
2046+ echo ' if [ "${PATH#*/usr/local/hestia/bin*}" = "$PATH" ]; then
2047+ . /etc/profile.d/hestia.sh
2048+ fi' >> /root/.bashrc
20452049
20462050# ----------------------------------------------------------#
20472051# Hestia Access Info #
Original file line number Diff line number Diff line change @@ -2124,6 +2124,11 @@ write_config_value "SERVER_SMTP_PASSWD" ""
21242124write_config_value " SERVER_SMTP_ADDR" " "
21252125write_config_value " POLICY_CSRF_STRICTNESS" " 1"
21262126
2127+ # Add /usr/local/hestia/bin/ to path variable
2128+ echo ' if [ "${PATH#*/usr/local/hestia/bin*}" = "$PATH" ]; then
2129+ . /etc/profile.d/hestia.sh
2130+ fi' >> /root/.bashrc
2131+
21272132# ----------------------------------------------------------#
21282133# Hestia Access Info #
21292134# ----------------------------------------------------------#
You can’t perform that action at this time.
0 commit comments