Skip to content
Snippets Groups Projects
Commit 7121c604 authored by Bob Mottram's avatar Bob Mottram
Browse files

Move checkout

parent 17501e8a
No related branches found
No related tags found
No related merge requests found
......@@ -202,6 +202,7 @@ function upgrade_hubzilla {
set_repo_commit $HUBZILLA_PATH/addon "hubzilla addons commit" "$HUBZILLA_ADDONS_COMMIT" $HUBZILLA_ADDONS_REPO
if [ -d $HUBZILLA_PATH/redmatrix-themes1 ]; then
cd $HUBZILLA_PATH/redmatrix-themes1
git merge --abort
git stash
git pull
cp -r $HUBZILLA_PATH/redmatrix-themes1/* $HUBZILLA_PATH/view/theme/
......
......@@ -45,7 +45,7 @@ MY_MIRRORS_PASSWORD=
UTILS_FILES=/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-*
for f in $UTILS_FILES
do
source $f
source $f
done
read_config_param PROJECT_REPO
......@@ -63,10 +63,10 @@ if [ -d $PROJECT_DIR ]; then
if [ -f $CONFIGURATION_FILE ]; then
cd $PROJECT_DIR
rm -rf $PROJECT_DIR/locale/*
git checkout stockholm
# TODO after stockholm merge change this to git_pull
git merge --abort
git stash
# TODO after stockholm merge change this to git_pull
git checkout stockholm
git pull $PROJECT_REPO
make install
${PROJECT_NAME} -c $CONFIGURATION_FILE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment