From 3b1d05144fb79a7d57713203c21f147976258a07 Mon Sep 17 00:00:00 2001 From: Mike Roberts <2947595+m-roberts@users.noreply.github.com> Date: Tue, 15 Jan 2019 11:14:45 +0000 Subject: [PATCH] Fixed another hard reference to the 'pi' user name --- stage4/03-magpi/00-run.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stage4/03-magpi/00-run.sh b/stage4/03-magpi/00-run.sh index da00ecc..cc5a820 100755 --- a/stage4/03-magpi/00-run.sh +++ b/stage4/03-magpi/00-run.sh @@ -11,6 +11,5 @@ fi file "files/$magpi_latest" | grep -q "PDF document" -install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/pi/MagPi" -install -v -o 1000 -g 1000 -m 644 "files/$magpi_latest" "${ROOTFS_DIR}/home/pi/MagPi/" - +install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/MagPi" +install -v -o 1000 -g 1000 -m 644 "files/$magpi_latest" "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/MagPi/"