Move checkout
This commit is contained in:
parent
17501e8acc
commit
7121c60452
|
@ -202,6 +202,7 @@ function upgrade_hubzilla {
|
||||||
set_repo_commit $HUBZILLA_PATH/addon "hubzilla addons commit" "$HUBZILLA_ADDONS_COMMIT" $HUBZILLA_ADDONS_REPO
|
set_repo_commit $HUBZILLA_PATH/addon "hubzilla addons commit" "$HUBZILLA_ADDONS_COMMIT" $HUBZILLA_ADDONS_REPO
|
||||||
if [ -d $HUBZILLA_PATH/redmatrix-themes1 ]; then
|
if [ -d $HUBZILLA_PATH/redmatrix-themes1 ]; then
|
||||||
cd $HUBZILLA_PATH/redmatrix-themes1
|
cd $HUBZILLA_PATH/redmatrix-themes1
|
||||||
|
git merge --abort
|
||||||
git stash
|
git stash
|
||||||
git pull
|
git pull
|
||||||
cp -r $HUBZILLA_PATH/redmatrix-themes1/* $HUBZILLA_PATH/view/theme/
|
cp -r $HUBZILLA_PATH/redmatrix-themes1/* $HUBZILLA_PATH/view/theme/
|
||||||
|
|
|
@ -63,10 +63,10 @@ if [ -d $PROJECT_DIR ]; then
|
||||||
if [ -f $CONFIGURATION_FILE ]; then
|
if [ -f $CONFIGURATION_FILE ]; then
|
||||||
cd $PROJECT_DIR
|
cd $PROJECT_DIR
|
||||||
rm -rf $PROJECT_DIR/locale/*
|
rm -rf $PROJECT_DIR/locale/*
|
||||||
git checkout stockholm
|
|
||||||
# TODO after stockholm merge change this to git_pull
|
|
||||||
git merge --abort
|
git merge --abort
|
||||||
git stash
|
git stash
|
||||||
|
# TODO after stockholm merge change this to git_pull
|
||||||
|
git checkout stockholm
|
||||||
git pull $PROJECT_REPO
|
git pull $PROJECT_REPO
|
||||||
make install
|
make install
|
||||||
${PROJECT_NAME} -c $CONFIGURATION_FILE
|
${PROJECT_NAME} -c $CONFIGURATION_FILE
|
||||||
|
|
Loading…
Reference in New Issue