Sfoglia il codice sorgente

Fix variables.

tags/5.1.0
Luigi Cruz 3 anni fa
parent
commit
6b40fd621a
1 ha cambiato i file con 6 aggiunte e 6 eliminazioni
  1. +6
    -6
      stage4/32-pisdr-dump1090/00-run.sh

+ 6
- 6
stage4/32-pisdr-dump1090/00-run.sh Vedi File

@@ -9,22 +9,22 @@ install -v -o 1000 -g 1000 -m 755 targets/configure_fr24feed.sh "${ROOTFS_DIR}/h
on_chroot << EOF
cd "/home/${FIRST_USER_NAME}/PiSDR/Software/dump1090"

repository="https://github.com/wiedehopf/readsb.git"
mkdir -p /usr/local/share/adsb-wiki/readsb-install

apt-get update
apt-get install --no-install-recommends --no-install-suggests -y git build-essential debhelper libusb-1.0-0-dev \
pkg-config dh-systemd libncurses5-dev lighttpd zlib1g-dev zlib1g unzip

rm -rf "$ipath"/git
if ! git clone --branch stale --depth 1 "$repository" "$ipath/git"
rm -rf /usr/local/share/adsb-wiki/readsb-install/git
if ! git clone --branch stale --depth 1 https://github.com/wiedehopf/readsb.git "$ipath/git"
then
echo "Unable to git clone the repository"
exit 1
fi

rm -rf "$ipath"/readsb*.deb
rm -rf /usr/local/share/adsb-wiki/readsb-install/readsb*.deb

cd "$ipath/git"
cd /usr/local/share/adsb-wiki/readsb-install/git

sed -i 's/librtlsdr0, librtlsdr-dev, //g' debian/control

@@ -103,7 +103,7 @@ EOF
chmod a+x /usr/local/bin/readsb-set-location

echo --------------
cd "$ipath"
cd /usr/local/share/adsb-wiki/readsb-install

wget -O tar1090-install.sh https://raw.githubusercontent.com/wiedehopf/tar1090/master/install.sh
bash tar1090-install.sh /run/readsb


Caricamento…
Annulla
Salva