Skip to content

Commit c764597

Browse files
committed
Skip nginx repository for deb11.
1 parent ca615b9 commit c764597

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

install/hst-install-debian.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,11 @@ echo
636636
# Installing Nginx repo
637637

638638
echo "[ * ] NGINX"
639-
echo "deb [arch=$ARCH] https://nginx.org/packages/mainline/$VERSION/ $codename nginx" > $apt/nginx.list
639+
if [ "$release" -eq 11 ]; then
640+
echo " Skip nginx repo, not available yet."
641+
else
642+
echo "deb [arch=$ARCH] https://nginx.org/packages/mainline/$VERSION/ $codename nginx" > $apt/nginx.list
643+
fi
640644
apt-key adv --fetch-keys 'https://nginx.org/keys/nginx_signing.key' > /dev/null 2>&1
641645

642646
# Installing sury PHP repo

0 commit comments

Comments
 (0)