fixed small typo
authorLisa Marie Maginnis <lisam@fsf.org>
Mon, 29 Feb 2016 04:38:36 +0000 (23:38 -0500)
committerLisa Marie Maginnis <lisam@fsf.org>
Mon, 29 Feb 2016 04:38:36 +0000 (23:38 -0500)
scripts/GMG/15_install_gmg.sh

index 796601d..8cfb0f8 100755 (executable)
@@ -24,7 +24,7 @@ sed 's^GMG_SENDER_TOKEN^'$GMG_SENDER'^g' -i $target/etc/mediagoblin-templates/me
 sed 's^GMG_PATH_TOKEN^'$GMG_PATH'^g' -i $target/etc/nginx/mediagoblin-common.conf
 
 sed 's^GMG_FQDN_TOKEN^'$fqdn'^g' -i $target/etc/nginx/sites-available/mediagoblin
-sed 's^SERVERNAME_TOKEN^'$fqdn'^g' -i $target/etc/nginx/sites-available/mediagoblin
+sed 's^SERVERNAME_TOKEN^'$SERVERNAME'^g' -i $target/etc/nginx/sites-available/mediagoblin
 
 # enable nginx config
 $ROOTCMD ln -s /etc/nginx/sites-available/mediagoblin /etc/nginx/sites-enabled/mediagoblin