From 20153628192c61f83a602537e34159e7ec492421 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Tue, 14 May 2024 16:23:35 +0300 Subject: [PATCH] Fix LEMP package replacements --- generate-lemp.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generate-lemp.sh b/generate-lemp.sh index 376b946..7ae3cd5 100755 --- a/generate-lemp.sh +++ b/generate-lemp.sh @@ -7,10 +7,10 @@ for i in *.ctl; do cp "$i" "$lempname" sed -i "s/virtualmin-lamp-stack/virtualmin-lemp-stack/" "$lempname" sed -i "s/LAMP/LEMP/g" "$lempname" - sed -i "s/apache2, /nginx-full | nginx-extras, webmin-virtualmin-nginx, webmin-virtualmin-nginx-ssl, /" "$lempname" - sed -i "s/libapache2-mod-fcgid, /fcgiwrap, /" "$lempname" - sed -i "s/libfcgi-dev, /fcgiwrap, /" "$lempname" - sed -i "s/apache2-suexec-custom, //" "$lempname" + sed -i "s/apache2\s*$/nginx-full | nginx-extras, webmin-virtualmin-nginx, webmin-virtualmin-nginx-ssl/" "$lempname" + sed -i "s/libapache2-mod-fcgid,\s*//" "$lempname" + sed -i "s/libfcgi-dev,\s*//" "$lempname" + sed -i "s/apache2-suexec-custom,\s*//" "$lempname" echo ' .' >> $lempname echo ' This file auto-generated by generate-lemp.sh' >> $lempname done