Skip to content

Commit 9d41b23

Browse files
committed
Fix small issue with nginx repository.
1 parent d7a46a2 commit 9d41b23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ check_result $? 'apt-get upgrade failed'
486486
apt=/etc/apt/sources.list.d
487487

488488
# Installing nginx repo
489-
echo "deb http://nginx.org/packages/mainline/ubuntu/ $codename nginx" \
489+
echo "deb http://nginx.org/packages/mainline/$VERSION/ $codename nginx" \
490490
> $apt/nginx.list
491491
wget --quiet http://nginx.org/keys/nginx_signing.key -O /tmp/nginx_signing.key
492492
apt-key add /tmp/nginx_signing.key > /dev/null 2>&1

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ check_result $? 'apt-get upgrade failed'
470470
apt=/etc/apt/sources.list.d
471471

472472
# Installing nginx repo
473-
echo "deb http://nginx.org/packages/mainline/ubuntu/ $codename nginx" \
473+
echo "deb http://nginx.org/packages/mainline/$VERSION/ $codename nginx" \
474474
> $apt/nginx.list
475475
wget --quiet http://nginx.org/keys/nginx_signing.key -O /tmp/nginx_signing.key
476476
apt-key add /tmp/nginx_signing.key > /dev/null 2>&1

0 commit comments

Comments
 (0)