Browse Source

fix: [myc-manage] make update fail if ``myc-manage`` repository was modified

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
rc1
Valentin Lab 3 years ago
parent
commit
c2bcf37a7b
  1. 2
      bin/myc-update

2
bin/myc-update

@ -23,7 +23,7 @@ if ! [ -d "/opt/apps/myc-manage" ]; then
else else
cd /opt/apps/myc-manage && cd /opt/apps/myc-manage &&
git checkout master && git checkout master &&
git pull -r
git pull -r || exit 1
fi fi
ln -sfn /opt/apps/myc-manage/bin/* /usr/local/sbin/ ln -sfn /opt/apps/myc-manage/bin/* /usr/local/sbin/

Loading…
Cancel
Save