WIP Items module.

This commit is contained in:
Ahmed Bouhuolia
2019-09-03 02:07:28 +02:00
parent cb8c294d74
commit 70809cb05c
142 changed files with 12674 additions and 64 deletions

View File

@@ -0,0 +1,20 @@
#!/bin/bash
for conf in /usr/local/apache2/templates/*.conf; do
mv $conf "/usr/local/apache2/sites-available/"$(basename $conf) > /dev/null
done
for template in /usr/local/apache2/templates/*.template; do
mv $template "/usr/local/apache2/sites-available/"$(basename $template)".conf" > /dev/null
done
if [[ "$NO_DEFAULT" = true ]]; then
rm /usr/local/apache2/sites-available/node.template.conf
rm /usr/local/apache2/sites-available/node-https.template.conf
else
if [[ "$WEB_SSL" = false ]]; then
rm /usr/local/apache2/sites-available/node-https.template.conf
fi
fi
. /root/scripts/run-openssl.sh