From 70b867ec3887c5ca0d27ff1130854a2640f02bd3 Mon Sep 17 00:00:00 2001 From: simono41 Date: Sat, 9 Jun 2018 08:57:21 +0200 Subject: [PATCH] directory_fix --- arch-installpi-spectre_os.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch-installpi-spectre_os.sh b/arch-installpi-spectre_os.sh index be936e9..ff5ad74 100755 --- a/arch-installpi-spectre_os.sh +++ b/arch-installpi-spectre_os.sh @@ -13,9 +13,9 @@ fdisk -l read -p "Wo soll das Image aufgespielt werden?: /dev/sda : " device [[ -z "${device}" ]] && device=/dev/sda -if [ -f arch-spectre_os-*-armV7.tar.pxz ] +if [ -f out/arch-spectre_os-*-armV7.tar.pxz ] then - image=$(find arch-spectre_os-*-armV7.tar.pxz) + image=$(find out/arch-spectre_os-*-armV7.tar.pxz) echo $datei else echo "ABGEBROCHEN" @@ -84,7 +84,7 @@ mkfs.ext4 /dev/"$device"2 mkdir -p root mount /dev/"$device"2 root -tar -Ipixz -xpf arch-spectre_os-*-armV7.tar.pxz -C root +tar -Ipixz -xpf out/arch-spectre_os-*-armV7.tar.pxz -C root sync mv root/boot/* boot