From bce5f882b053e29589aa917e488c6cb3f6ede7ed Mon Sep 17 00:00:00 2001 From: Leith Cullen <909007+ZL1LAC@users.noreply.github.com> Date: Wed, 22 May 2024 12:25:53 +1200 Subject: [PATCH] Update duco-install-rpi.sh Fix script finishing. ./duco-install-rpi.sh: 59: [: missing ] --- Tools/duco-install-rpi.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tools/duco-install-rpi.sh b/Tools/duco-install-rpi.sh index 55c81548..3763cbf5 100755 --- a/Tools/duco-install-rpi.sh +++ b/Tools/duco-install-rpi.sh @@ -19,7 +19,7 @@ if [ ! -d ~/duino-coin/ ];then fi cd ~/duino-coin -echo "Installing python packages" +echo "Installing Python packages" python3 -m pip install -r requirements.txt # Install pip dependencies #Check if the app exists @@ -32,7 +32,7 @@ fi mkdir -p ~/.local/share/applications echo "[Desktop Entry] Name=Duino Coin PC Miner -Comment=Duino Coin miner for the raspberry pi +Comment=Duino Coin miner for the Raspberry Pi Exec=python3 /home/$u/duino-coin/PC_Miner.py Icon=/home/$u/duino-coin/Resources/PCMiner.png Terminal=true @@ -56,7 +56,7 @@ Type=Application Categories=Utility; StartupNotify=true" > ~/.local/share/applications/duino-coin-avr.desktop cd ~/ -if [ -f ~/duco-install-rpi.sh]; then +if [ -f ~/duco-install-rpi.sh ]; then rm duco-install-rpi.sh fi -echo "Installed" \ No newline at end of file +echo "Installed"