فهرست منبع

Revert "Update installers for hestia global config in /etc"

This reverts commit ebf12f3b6094573b78fe708ed3b482ae229b77e4.
Raphael Schneeberger 5 سال پیش
والد
کامیت
fc7b8d4875
2فایلهای تغییر یافته به همراه0 افزوده شده و 12 حذف شده
  1. 0 6
      install/hst-install-debian.sh
  2. 0 6
      install/hst-install-ubuntu.sh

+ 0 - 6
install/hst-install-debian.sh

@@ -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

+ 0 - 6
install/hst-install-ubuntu.sh

@@ -999,12 +999,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