File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -914,11 +914,10 @@ chmod 440 /etc/sudoers.d/admin
914914
915915# Configuring system env
916916echo " export HESTIA='$HESTIA '" > /etc/profile.d/hestia.sh
917+ echo ' PATH=$PATH:' $HESTIA ' /bin' >> /etc/profile.d/hestia.sh
918+ echo ' export PATH' >> /etc/profile.d/hestia.sh
917919chmod 755 /etc/profile.d/hestia.sh
918920source /etc/profile.d/hestia.sh
919- echo ' PATH=$PATH:' $HESTIA ' /bin' >> /etc/profile
920- echo ' export PATH' >> /etc/profile
921- source /etc/profile
922921
923922# Configuring logrotate for Hestia logs
924923cp -f $hestiacp /logrotate/hestia /etc/logrotate.d/hestia
Original file line number Diff line number Diff line change @@ -882,11 +882,10 @@ chmod 440 /etc/sudoers.d/admin
882882
883883# Configuring system env
884884echo " export HESTIA='$HESTIA '" > /etc/profile.d/hestia.sh
885+ echo ' PATH=$PATH:' $HESTIA ' /bin' >> /etc/profile.d/hestia.sh
886+ echo ' export PATH' >> /etc/profile.d/hestia.sh
885887chmod 755 /etc/profile.d/hestia.sh
886888source /etc/profile.d/hestia.sh
887- echo ' PATH=$PATH:' $HESTIA ' /bin' >> /etc/profile
888- echo ' export PATH' >> /etc/profile
889- source /etc/profile
890889
891890# Configuring logrotate for Hestia logs
892891cp -f $hestiacp /logrotate/hestia /etc/logrotate.d/hestia
You can’t perform that action at this time.
0 commit comments