File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -903,9 +903,9 @@ chmod 440 /etc/sudoers.d/admin
903903echo " export HESTIA='$HESTIA '" > /etc/profile.d/hestia.sh
904904chmod 755 /etc/profile.d/hestia.sh
905905source /etc/profile.d/hestia.sh
906- echo ' PATH=$PATH:' $HESTIA ' /bin' >> /root/.bash_profile
907- echo ' export PATH' >> /root/.bash_profile
908- source /root/.bash_profile
906+ echo ' PATH=$PATH:' $HESTIA ' /bin' >> /etc/profile
907+ echo ' export PATH' >> /etc/profile
908+ source /etc/profile
909909
910910# Configuring logrotate for Hestia logs
911911cp -f $hestiacp /logrotate/hestia /etc/logrotate.d/hestia
Original file line number Diff line number Diff line change @@ -878,9 +878,9 @@ chmod 440 /etc/sudoers.d/admin
878878echo " export HESTIA='$HESTIA '" > /etc/profile.d/hestia.sh
879879chmod 755 /etc/profile.d/hestia.sh
880880source /etc/profile.d/hestia.sh
881- echo ' PATH=$PATH:' $HESTIA ' /bin' >> /root/.bash_profile
882- echo ' export PATH' >> /root/.bash_profile
883- source /root/.bash_profile
881+ echo ' PATH=$PATH:' $HESTIA ' /bin' >> /etc/profile
882+ echo ' export PATH' >> /etc/profile
883+ source /etc/profile
884884
885885# Configuring logrotate for Hestia logs
886886cp -f $hestiacp /logrotate/hestia /etc/logrotate.d/hestia
You can’t perform that action at this time.
0 commit comments