From e2911a3cc1dbb90307482457a03a0a4edbfcfe26 Mon Sep 17 00:00:00 2001 From: Luigi Cruz Date: Mon, 22 Feb 2021 16:32:19 -0300 Subject: [PATCH] Update 00-run.sh --- stage4/32-pisdr-dump1090/00-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stage4/32-pisdr-dump1090/00-run.sh b/stage4/32-pisdr-dump1090/00-run.sh index ecb1fca..82d411c 100755 --- a/stage4/32-pisdr-dump1090/00-run.sh +++ b/stage4/32-pisdr-dump1090/00-run.sh @@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" cd "/home/${FIRST_USER_NAME}/PiSDR/Software" if [ ! -d "dump1090" ]; then - mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software/dump1090" + install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PiSDR/Software/dump1090/" fi install -v -o 1000 -g 1000 -m 755 targets/enable.sh "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PiSDR/Software/dump1090" @@ -139,4 +139,4 @@ echo "[PiSDR] Deleting build files to save space." rm -fr /usr/local/share/tar1090/git-db rm -fr /usr/local/share/tar1090/git -EOF \ No newline at end of file +EOF