Fix lamassu-ofac-update-sources during update

Otherwise:
```
bash: line 59: /bin/lamassu-ofac-update-sources: No such file or directory
```
This commit is contained in:
Neal Conner 2019-01-18 17:37:20 -05:00 committed by Josh Harvey
parent 07626cf505
commit df13f2ed90

View file

@ -56,7 +56,7 @@ lamassu-migrate >> ${LOG_FILE} 2>&1
lamassu-migrate-config >> ${LOG_FILE} 2>&1
decho "update ofac sources"
$SCRIPTPATH/bin/lamassu-ofac-update-sources
lamassu-ofac-update-sources >> ${LOG_FILE} 2>&1
decho "updating supervisor conf"
perl -i -pe 's/command=.*/command=$ENV{NPM_BIN}\/lamassu-server/g' /etc/supervisor/conf.d/lamassu-server.conf >> ${LOG_FILE} 2>&1