Checkout a specific commit to avoid future chaos
This commit is contained in:
parent
9eca2e1e37
commit
0f87bd0a43
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue