diff --git a/src/freedombone-app-mediagoblin b/src/freedombone-app-mediagoblin index 34f6b4f7..7fb47e3f 100755 --- a/src/freedombone-app-mediagoblin +++ b/src/freedombone-app-mediagoblin @@ -38,6 +38,7 @@ MEDIAGOBLIN_ADMIN_PASSWORD= MEDIAGOBLIN_CODE= MEDIAGOBLIN_ONION_PORT=8108 MEDIAGOBLIN_REPO="http://git.savannah.gnu.org/r/mediagoblin.git" +MEDIAGOBLIN_COMMIT='c4d3293dfa4076719e60fe9e052add07426f9a9a' MEDIAGOBLIN_BASE_DIR=/var/www/mediagoblin.local/htdocs MEDIAGOBLIN_PORT=6543 @@ -259,7 +260,7 @@ function install_mediagoblin { mkdir -p $MEDIAGOBLIN_BASE_DIR chown -hR mediagoblin:www-data $MEDIAGOBLIN_BASE_DIR su -c "cd $MEDIAGOBLIN_BASE_DIR && git clone $MEDIAGOBLIN_REPO $MEDIAGOBLIN_BASE_DIR/mediagoblin" - mediagoblin - su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin && git checkout stable" - mediagoblin + su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin && git checkout $MEDIAGOBLIN_COMMIT -b $MEDIAGOBLIN_COMMIT" - mediagoblin su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin && git submodule sync" - mediagoblin su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin && git submodule update --force --init --recursive" - mediagoblin su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin && ./bootstrap.sh" - mediagoblin