From efabbd55e91fc8b937a6b66e1062255a4aa5b53b Mon Sep 17 00:00:00 2001 From: self_slaughter Date: Thu, 26 Sep 2019 22:05:32 +1000 Subject: [PATCH] Move flips to /media/fat/linux --- other_authors/build_mame_roms.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/other_authors/build_mame_roms.sh b/other_authors/build_mame_roms.sh index c4af08b..46af0ec 100644 --- a/other_authors/build_mame_roms.sh +++ b/other_authors/build_mame_roms.sh @@ -33,8 +33,10 @@ MISTER_URL="https://github.com/MiSTer-devel/Main_MiSTer" setup_workspace() { mkdir "$WORK_DIR" &>/dev/null mkdir "$OUTPUT_DIR" &>/dev/null - curl $CURL_RETRY -sLf "https://github.com/MiSTer-devel/Scripts_MiSTer/raw/master/other_authors/flips" -o "$WORK_DIR/flips" - cp "$WORK_DIR/flips" "/bin" + if [ ! -f "/media/fat/linux/flips" ]; then + curl $CURL_RETRY -sLf "https://github.com/MiSTer-devel/Scripts_MiSTer/raw/master/other_authors/flips" -o "/media/fat/linux/flips" + fi + export PATH="/media/fat/linux:$PATH" } cleanup() {