From e101f210caee357ffe409720422f711d72c3a7b6 Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Sun, 28 Feb 2016 01:50:52 -0500 Subject: [PATCH] more fixes to install path --- files/etc/init.d/install-mediagoblin/DEFAULT | 2 +- scripts/GMG/15_install_gmg.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/etc/init.d/install-mediagoblin/DEFAULT b/files/etc/init.d/install-mediagoblin/DEFAULT index dd7579e..0b3986f 100644 --- a/files/etc/init.d/install-mediagoblin/DEFAULT +++ b/files/etc/init.d/install-mediagoblin/DEFAULT @@ -1,6 +1,6 @@ #/bin/bash -cd "${GMG_PATH}" +cd GMG_PATH_TOKEN if [ ! -d mediagoblin ]; then # Create the GMG user diff --git a/scripts/GMG/15_install_gmg.sh b/scripts/GMG/15_install_gmg.sh index 9bfd440..3b79e1d 100755 --- a/scripts/GMG/15_install_gmg.sh +++ b/scripts/GMG/15_install_gmg.sh @@ -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 -- 2.25.1