Skip to content

Commit d58db9d

Browse files
authored
Merge branch 'master' into 117-sed-prints-an-error-in-the-terminal-during-install
2 parents 4101791 + d2b0d21 commit d58db9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/install-core

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ tar -xvf bitcoin-*-x86_64-linux-gnu.tar* --strip-components=1 --directory=$LOCAL
224224
mkdir --parents $DATA_DIR/{chainstate,wallets,blocks}
225225
mv --force $LOCAL_DIR/{bitcoin.conf,README.md} $DATA_DIR
226226
sed --in-place 's/#rpcport=<port>/rpcport=17600/' $DATA_DIR/bitcoin.conf # set -rpcport for Tails
227-
sed --in-place 's/#datadir=<dir>/datadir=$DATA_DIR/' $DATA_DIR/bitcoin.conf # set -datadir for Tails
227+
sed --in-place "s/#datadir=<dir>/datadir=$DATA_DIR/" $DATA_DIR/bitcoin.conf # set -datadir for Tails
228228
ln --symbolic --force /media/$USER $DATA_DIR/wallets # links media mount directory to wallets folder for easier loading of watch encrypted or external media wallets
229229
chmod -w $DATA_DIR/wallets # TODO see what permissions bitcoin-core would have made its folders at.
230230
ln --symbolic --force /tmp/debug.log $DATA_DIR/debug.log # links debug.log to tmp so logs won't persist restart

0 commit comments

Comments
 (0)