Skip to content

Commit 9710e08

Browse files
author
Kristan Kenney
committed
Improve upgrade script routines
2 parents e6244ce + 1a180a6 commit 9710e08

File tree

3 files changed

+2
-32
lines changed

3 files changed

+2
-32
lines changed

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,6 +1163,7 @@ if [ "$nginx" = 'yes' ]; then
11631163
done
11641164
if [ ! -z "$resolver" ]; then
11651165
sed -i "s/1.0.0.1 1.1.1.1/$resolver/g" /etc/nginx/nginx.conf
1166+
sed -i "s/1.0.0.1 1.1.1.1/$resolver/g" /usr/local/hestia/nginx/conf/nginx.conf
11661167
fi
11671168

11681169
update-rc.d nginx defaults > /dev/null 2>&1

install/upgrade/versions/1.0.3.sh

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/hst_autocompile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ if [ "$NGINX_B" = true ] ; then
287287
else
288288
cp $BUILD_DIR/hestiacp-$branch/src/deb/nginx/nginx.conf "usr/local/hestia/nginx/conf/nginx.conf"
289289
fi
290-
290+
291291
# copy binary
292292
cp usr/local/hestia/nginx/sbin/nginx usr/local/hestia/nginx/sbin/hestia-nginx
293293

0 commit comments

Comments
 (0)