File tree Expand file tree Collapse file tree 6 files changed +4
-56
lines changed
Expand file tree Collapse file tree 6 files changed +4
-56
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ source $HESTIA/func/main.sh
1919source $HESTIA /conf/hestia.conf
2020
2121# Define themes repository URL format
22- HESTIA_THEMES_REPO=" $HESTIA_GIT_REPO /$RELEASE_BRANCH /themes"
22+ HESTIA_THEMES_REPO=" $HESTIA_GIT_REPO /$RELEASE_BRANCH /install/deb/ themes"
2323
2424# ----------------------------------------------------------#
2525# Action #
4848# Check if theme name already exists as system theme
4949if [ -e $HESTIA_THEMES /$theme .css ]; then
5050 echo " ERROR: System theme with the same name already exists: $theme ."
51- echo " To update system themes, run v-update-sys-themes."
5251 exit 1
5352fi
5453
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ DNSTPL=$HESTIA/data/templates/dns
1616RRD=$HESTIA /web/rrd
1717SENDMAIL=" $HESTIA /web/inc/mail-wrapper.php"
1818HESTIA_GIT_REPO=" https://raw.githubusercontent.com/hestiacp/hestiacp"
19- HESTIA_THEMES=" $HESTIA /themes"
19+ HESTIA_THEMES=" $HESTIA_INSTALL_DIR /themes"
2020HESTIA_THEMES_CUSTOM=" $HESTIA /data/templates/themes"
2121SCRIPT=" $( basename $0 ) "
2222
File renamed without changes.
Original file line number Diff line number Diff line change @@ -1125,10 +1125,6 @@ cp -rf $HESTIA_INSTALL_DIR/templates $HESTIA/data/
11251125mkdir -p /var/www/html
11261126mkdir -p /var/www/document_errors
11271127
1128- # Installing default themes
1129- mkdir -p $HESTIA /themes
1130- cp -rf $HESTIA_INSTALL_DIR /themes $HESTIA /themes/
1131-
11321128# Install default success page
11331129cp -rf $HESTIA_INSTALL_DIR /templates/web/unassigned/index.html /var/www/html/
11341130cp -rf $HESTIA_INSTALL_DIR /templates/web/skel/document_errors/* /var/www/document_errors/
18271823$HESTIA /bin/v-change-sys-port $port
18281824
18291825# Set default theme
1830- $HESTIA /bin/v-change-sys-theme default
1826+ $HESTIA /bin/v-change-sys-config-value ' THEME ' " default"
18311827
18321828# Starting Hestia service
18331829update-rc.d hestia defaults
Original file line number Diff line number Diff line change @@ -1078,10 +1078,6 @@ cp -rf $HESTIA_INSTALL_DIR/templates $HESTIA/data/
10781078mkdir -p /var/www/html
10791079mkdir -p /var/www/document_errors
10801080
1081- # Installing default themes
1082- mkdir -p $HESTIA /themes
1083- cp -rf $HESTIA_INSTALL_DIR /themes $HESTIA /themes/
1084-
10851081# Install default success page
10861082cp -rf $HESTIA_INSTALL_DIR /templates/web/unassigned/index.html /var/www/html/
10871083cp -rf $HESTIA_INSTALL_DIR /templates/web/skel/document_errors/* /var/www/document_errors/
17141710$HESTIA /bin/v-change-sys-port $port
17151711
17161712# Set default theme
1717- $HESTIA /bin/v-change-sys-theme default
1713+ $HESTIA /bin/v-change-sys-config-value ' THEME ' " default"
17181714
17191715# Starting Hestia service
17201716update-rc.d hestia defaults
You can’t perform that action at this time.
0 commit comments