From 0ee5a5b4e7213038942343f49afc8f876542473d Mon Sep 17 00:00:00 2001 From: Matt C Date: Fri, 14 May 2021 21:04:05 -0400 Subject: [PATCH] love when git doesn't actually remove a file --- build_iso.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 build_iso.sh diff --git a/build_iso.sh b/build_iso.sh deleted file mode 100755 index c7ef08a..0000000 --- a/build_iso.sh +++ /dev/null @@ -1,18 +0,0 @@ -rm -fv *.iso - -if [[ "$1" == "" ]]; then - WORKDIR=$(mktemp -d) -else - WORKDIR="$1" - if [[ ! -d "$WORKDIR" ]]; then - mkdir -p "$WORKDIR" - fi -fi - -# idk if this would've happened automatically? -cp crystal/pacman.conf crystal/airootfs/etc/. -cp crystal/packages.x86_64 crystal/airootfs/etc/packages.x86_64 -cp /etc/pacman.d/mirrorlist crystal/airootfs/etc/pacman.d/. -echo "Built on $(date +"%D @ %T EST")" > crystal/airootfs/etc/buildstamp -time sudo ./mkarchiso -v -w $WORKDIR -o . crystal -sudo rm -rf $WORKDIR