diff --git a/scripts/install b/scripts/install index 18d56a1..aef203d 100755 --- a/scripts/install +++ b/scripts/install @@ -53,6 +53,10 @@ echo "Synchronizing with $sync_node:$sync_port. It may take a while." ucoind sync $sync_node $sync_port --nointeractive # > /dev/null 2>&1 +# Fix uCoin launching +$UCOIN_DIR/node/bin/npm cache clean -f +$UCOIN_DIR/node/bin/npm install -g n + # Launch uCoin node ucoind start diff --git a/scripts/remove b/scripts/remove index 3960243..fe173d5 100755 --- a/scripts/remove +++ b/scripts/remove @@ -7,6 +7,7 @@ domain=$(sudo yunohost app setting $app domain) port=$(sudo yunohost app setting $app port) # Remove uCoin +ucoind delete rm -Rf /home/admin/.ucoin rm -Rf /home/admin/.config/ucoin/