Skip to content

Commit

Permalink
Merge pull request #31 from SpiderOak/push-upgrades-in-tarball
Browse files Browse the repository at this point in the history
Push upgrades in tarball
  • Loading branch information
bdzim committed Sep 5, 2013
2 parents 76f65ff + 322e4d7 commit 094ddbc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/upgrade_om.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ sudo tar xjf $upgrade
sudo cp $HOME/agent_config.json /opt/openmanage/etc

# Apply SQL updates
pushd upgrades
pushd upgrade
python apply_sql.py
popd #upgrades
popd #upgrade
popd #/opt

sudo sv start openmanage
Expand Down
3 changes: 3 additions & 0 deletions deploy/make_tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ pushd $buildit_dir/django > /dev/null
./setup_git.sh $buildit_dir
popd > /dev/null #$buildit_dir/django

# Copy over the upgrades
cp -r $source_dir/upgrade $buildit_dir

# Setup the SQL package
mkdir $buildit_dir/sql
cp $source_dir/sql/*.sql $buildit_dir/sql
Expand Down

0 comments on commit 094ddbc

Please sign in to comment.