Removed create psql user, movoed to init.d style install, changed install script...
[fai-configs.git] / scripts / GMG / 15_install_gmg.sh
index fc60f118e917670143a41ddef059d500347d2c51..ca3b00805d93b794afca56f3f0db2d1ebcc659be 100755 (executable)
@@ -1,17 +1,5 @@
 #!/bin/bash
 
-
-cd $target/$GMG_PATH
-if [ ! -d mediagoblin ]; then
-
-    $ROOTCMD git clone git://git.savannah.gnu.org/mediagoblin.git -b stable
-    $ROOTCMD cd mediagoblin
-    $ROOTCMD git submodule init && $ROOTCMD git submodule update
-
-
-    $ROOTCMD ./bootstrap.sh && $ROOTCMD ./configure && $ROOTCMD make
-    $ROOTCMD mkdir user_dev && $ROOTCMD chmod 750 user_dev
-    $ROOTCMD ./bin/easy_install flup
-
-fi
+fcopy -v /etc/init.d/
+$ROOTCMD update-rc.d mediagoblin defaults