Skip to content

Commit

Permalink
Update wingbits_installer.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
shawaj authored Jul 3, 2024
1 parent ebb0980 commit f24b719
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions wingbits_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ sudo dpkg -i ../readsb_*.deb
repo="https://github.com/wiedehopf/graphs1090"
ipath=/usr/share/graphs1090

function copyNoClobber() {
if ! [[ -f "$2" ]]; then
cp "$1" "$2"
fi
}

mkdir -p /usr/share/graphs1090/installed
mkdir -p /var/lib/graphs1090/scatter

Expand Down Expand Up @@ -92,7 +86,7 @@ done

rm -f /etc/cron.d/cron-graphs1090
cp -r html $ipath
copyNoClobber default /etc/default/graphs1090
cp default /etc/default/graphs1090
cp default $ipath/default-config
cp collectd.conf $ipath/default-collectd.conf
cp service.service /lib/systemd/system/graphs1090.service
Expand Down

0 comments on commit f24b719

Please sign in to comment.