Update run.sh

sed inline replace should end with /g
Steven Goossens 2020-11-04 15:34:58 +01:00 committed by GitHub
parent 6881936464
commit 813137488c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ if [ -r /.firstboot.tmp ]; then
echo "No base URL defined, don't forget to define it manually!" echo "No base URL defined, don't forget to define it manually!"
else else
echo "Fixing the MISP base URL ($MISP_BASEURL) ..." echo "Fixing the MISP base URL ($MISP_BASEURL) ..."
sed -i "s/'baseurl' => '',/'baseurl' => '$MISP_BASEURL',/" /var/www/MISP/app/Config/config.php sed -i "s/'baseurl' => '',/'baseurl' => '$MISP_BASEURL',/g" /var/www/MISP/app/Config/config.php
fi fi
# Generate the admin user PGP key # Generate the admin user PGP key