From 1829d34cd5c1f9a6eb55df19963a06be97ce3b8f Mon Sep 17 00:00:00 2001 From: RaspbianProyect by HP3ICC Date: Thu, 25 May 2023 02:28:46 +0000 Subject: [PATCH] Update install.sh --- install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install.sh b/install.sh index 6372cf9..458d289 100644 --- a/install.sh +++ b/install.sh @@ -3,6 +3,13 @@ sudo apt update sudo apt install python3 python3-pip -y sudo pip install aprslib +if [ -d "/opt/python-aprs" ] +then + rm -r /opt/python-aprs +fi + mkdir /opt/python-aprs + + sudo cat > /lib/systemd/system/py-aprsb1.service <<- "EOF" [Unit] Description=Python APRS BEACOM1