quotes
This commit is contained in:
parent
02627accb1
commit
fcc87c9bf7
|
@ -369,7 +369,7 @@ function install_ipfs_js {
|
|||
systemctl restart ${IPFS_DAEMON_NAME}
|
||||
|
||||
if [ -d /etc/avahi ]; then
|
||||
su -c "echo $($IPFS_PATH/jsipfs id | grep '\"ID\":' | awk -F '\"' '{print $4}') > /tmp/ipfsid" - $MY_USERNAME
|
||||
su -c "echo $($IPFS_PATH/jsipfs id | grep '\"ID\":' | awk -F '\"' '{print $4}') > /tmp/ipfsid" - "$MY_USERNAME"
|
||||
if [ ! -f /tmp/ipfsid ]; then
|
||||
echo 'No IPFS identity was created'
|
||||
exit 37895
|
||||
|
@ -586,7 +586,7 @@ function install_ipfs_go {
|
|||
systemctl restart ipfs
|
||||
|
||||
if [ -d /etc/avahi ]; then
|
||||
su -c "echo $($IPFS_PATH/ipfs id | grep '\"ID\":' | awk -F '\"' '{print $4}') > /tmp/ipfsid" - $MY_USERNAME
|
||||
su -c "echo $("$IPFS_PATH/ipfs" id | grep '\"ID\":' | awk -F '\"' '{print $4}') > /tmp/ipfsid" - "$MY_USERNAME"
|
||||
if [ ! -f /tmp/ipfsid ]; then
|
||||
echo 'No IPFS identity was created'
|
||||
exit 37895
|
||||
|
|
Loading…
Reference in New Issue