|
|
@@ -943,12 +943,6 @@ mkdir -p /etc/sudoers.d
|
|
|
cp -f $HESTIA_INSTALL_DIR/sudo/admin /etc/sudoers.d/
|
|
|
chmod 440 /etc/sudoers.d/admin
|
|
|
|
|
|
-# Add Hestia global config
|
|
|
-if [[ ! -e /etc/hestiacp/hestia.conf ]]; then
|
|
|
- mkdir -p /etc/hestiacp
|
|
|
- echo -e "# Do not edit this file, will get overwritten on next upgrade, use /etc/hestiacp/local.conf instead\n\nexport HESTIA='/usr/local/hestia'\n\n[[ -f /etc/hestiacp/local.conf ]] && source /etc/hestiacp/local.conf" > /etc/hestiacp/hestia.conf
|
|
|
-fi
|
|
|
-
|
|
|
# Configuring system env
|
|
|
echo "export HESTIA='$HESTIA'" > /etc/profile.d/hestia.sh
|
|
|
echo 'PATH=$PATH:'$HESTIA'/bin' >> /etc/profile.d/hestia.sh
|