Skip to content

Commit

Permalink
Fix LEMP package replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed May 14, 2024
1 parent 65dec50 commit 2015362
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions generate-lemp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2015362

Please sign in to comment.