more fixes to install path
authorLisa Marie Maginnis <lisam@fsf.org>
Sun, 28 Feb 2016 06:50:52 +0000 (01:50 -0500)
committerLisa Marie Maginnis <lisam@fsf.org>
Sun, 28 Feb 2016 06:50:52 +0000 (01:50 -0500)
files/etc/init.d/install-mediagoblin/DEFAULT
scripts/GMG/15_install_gmg.sh

index dd7579e..0b3986f 100644 (file)
@@ -1,6 +1,6 @@
 #/bin/bash
 
-cd "${GMG_PATH}"
+cd GMG_PATH_TOKEN
 if [ ! -d mediagoblin ]; then
 
     # Create the GMG user
index 9bfd440..3b79e1d 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
 
-fcopy -v /etc/init.d/install-mediagoblin
+fcopy -Bv /etc/init.d/install-mediagoblin
 $ROOTCMD update-rc.d install-mediagoblin defaults
-
+sed 's/GMG_PATH_TOKEN/'$GMG_PATH'/g' -i $target/etc/init.d/install-mediagoblin