diff options
author | Kali Kaneko <kali@leap.se> | 2017-08-23 02:18:35 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-08-23 16:43:17 -0400 |
commit | ae03202b2e289ee74956f537fd75f2a023eb0f2b (patch) | |
tree | 09f0c54fdd7b506c1d04adaab82b575a9a0f2b7f /scripts/deploy/deploy_soledad_from_git | |
parent | 03c45657292a62b1273b2c69161635be3c694d79 (diff) |
[scripts] update deploy script to new paths
Diffstat (limited to 'scripts/deploy/deploy_soledad_from_git')
-rwxr-xr-x | scripts/deploy/deploy_soledad_from_git | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/deploy/deploy_soledad_from_git b/scripts/deploy/deploy_soledad_from_git index e95aae83..1a73866e 100755 --- a/scripts/deploy/deploy_soledad_from_git +++ b/scripts/deploy/deploy_soledad_from_git @@ -37,13 +37,13 @@ cd $LOCALREPO && git checkout -- . && git fetch $REMOTE && git checkout $REMOTE/ rm -rf $SOLEDADPATH # copy over some stuff that we'll need -- stolen from debian package -cp -r $LOCALREPO/server/src/leap/soledad/server $SOLEDADPATH -cp $LOCALREPO/server/pkg/soledad-server.service $SYSTEMDINIT -cp $LOCALREPO/server/pkg/soledad-create-userdb /usr/bin/ -cp $LOCALREPO/server/pkg/soledad-sudoers /etc/sudoers.d/ +cp -r $LOCALREPO/src/leap/soledad/server $SOLEDADPATH +cp $LOCALREPO/pkg/server/soledad-server.service $SYSTEMDINIT +cp $LOCALREPO/pkg/server/soledad-create-userdb /usr/bin/ +cp $LOCALREPO/pkg/server/soledad-sudoers /etc/sudoers.d/ # Let's append the branch info to the version string! So that nobody is lost -cd $LOCALREPO && echo "__version__ = '"`git describe`"~"`git status | head -n 1 | cut -d' ' -f 4`"'" >> $SOLEDADPATH/__init__.py +cd $LOCALREPO && echo "__version__ = '"`git describe`"~"`git status | head -n 1 | cut -d' ' -f 4`"'" >> $SOLEDADPATH/../__init__.py # restart the daemon systemctl --system daemon-reload >/dev/null || true |