We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c66711 commit 1ffabd4Copy full SHA for 1ffabd4
1 file changed
node-installer.sh
@@ -257,7 +257,11 @@ ln -sf /opt/dusk/bin/ruskquery /usr/bin/ruskquery
257
ln -sf /opt/dusk/bin/ruskreset /usr/bin/ruskreset
258
ln -sf /opt/dusk/bin/rusk-wallet /usr/bin/rusk-wallet
259
if [[ "$NETWORK" == "devnet" ]]; then
260
- rm -f /usr/bin/download_state
+ if [[ -L /usr/bin/download_state && "$(readlink /usr/bin/download_state)" == "/opt/dusk/bin/download_state.sh" ]]; then
261
+ rm -f /usr/bin/download_state
262
+ elif [[ -e /usr/bin/download_state ]]; then
263
+ echo "Leaving unmanaged /usr/bin/download_state in place; devnet fast sync is not available."
264
+ fi
265
fi
266
if [[ "$NETWORK" == "mainnet" || "$NETWORK" == "testnet" ]]; then
267
ln -sf /opt/dusk/bin/download_state.sh /usr/bin/download_state
0 commit comments