File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ source $HESTIA /func/main.sh
4+ source $HESTIA /conf/hestia.conf
5+
6+ echo " Updating system base theme..."
7+ if [ -e " $HESTIA /web/css/styles.min.css" ]; then
8+ rm -f " $HESTIA /web/css/styles.min.css"
9+ fi
10+ wget -qO $HESTIA /web/css/styles.min.css $HESTIA_GIT_REPO /$RELEASE_BRANCH /web/css/styles.min.css
11+
12+ echo " Updating included themes..."
13+ for themefile in ` ls $HESTIA /install/deb/themes` ; do
14+
15+ if [ -e $themefile ]; then
16+ rm -f $themefile
17+ fi
18+
19+ wget -qO $HESTIA_INSTALL_DIR /themes/$themefile $HESTIA_GIT_REPO /$RELEASE_BRANCH /install/deb/themes/$themefile
20+ done
21+
22+ if [ " $THEME " != " default" ]; then
23+ echo " Applying updated system interface theme..."
24+ $BIN /v-change-sys-theme $THEME
25+ fi
You can’t perform that action at this time.
0 commit comments