more fixes to install path
[fai-configs.git] / scripts / GMG / 15_install_gmg.sh
index ca3b008..3b79e1d 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
 
 #!/bin/bash
 
-fcopy -v /etc/init.d/
-$ROOTCMD update-rc.d mediagoblin defaults
-
+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