From 9d2a7bf0f461defea95e0fcef7bbd2ace4b5b557 Mon Sep 17 00:00:00 2001 From: yoyojacky Date: Tue, 25 Jun 2024 12:39:02 +0800 Subject: [PATCH] Update install-raspios-64bit.sh fix bug --- RaspberryPiOS/64bit/install-raspios-64bit.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/RaspberryPiOS/64bit/install-raspios-64bit.sh b/RaspberryPiOS/64bit/install-raspios-64bit.sh index 391e615..8ca2b03 100755 --- a/RaspberryPiOS/64bit/install-raspios-64bit.sh +++ b/RaspberryPiOS/64bit/install-raspios-64bit.sh @@ -13,11 +13,11 @@ fi # remove old repository. -if [ -d /tmp/deskpi ]; then - rm -rf /tmp/deskpi* -fi +# if [ -d /tmp/deskpi ]; then +# rm -rf /tmp/deskpi* +# cd /tmp/ && git clone https://github.com/deskpi-team/deskpi +# fi -cd /tmp/ && git clone https://github.com/deskpi-team/deskpi if [[ -f $fanDaemon ]]; then sudo sh -c "sudo systemctl stop deskpi.service" @@ -118,7 +118,7 @@ if [ $? -eq 0 ]; then log_action_msg "Congratulations! DeskPi Pro driver has been installed successfully, Have Fun!" log_action_msg "System will be reboot in 5 seconds to take effect." else - log_action_warning "Could not download deskpi repository, please check the internet connection and try to execute it again!" + log_action_warning "Could not download deskpi repository, please check the internet connection and try to execute it again. " log_action_msg "Usage: sudo ./install-raspios-64bit.sh" fi