fix: trim cmd output and binaries paths
This commit is contained in:
parent
b53090db05
commit
9152c48e14
4 changed files with 7 additions and 5 deletions
|
|
@ -23,7 +23,7 @@ function updateCore (coinRec, isCurrentlyRunning) {
|
|||
common.es(`tar -xzf /tmp/litecoin.tar.gz -C /tmp/`)
|
||||
|
||||
common.logger.info('Updating wallet...')
|
||||
common.es(`cp /tmp/${coinRec.dir}/bin/* /usr/local/bin/`)
|
||||
common.es(`cp /tmp/${coinRec.dir}/* /usr/local/bin/`)
|
||||
common.es(`rm -r /tmp/${coinRec.dir.replace('/bin', '')}`)
|
||||
common.es(`rm /tmp/litecoin.tar.gz`)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue