From 4bae09e4084232bc97f2c743c84838cde23f5dd7 Mon Sep 17 00:00:00 2001 From: tadashi-oya <70308976+tadashi-oya@users.noreply.github.com> Date: Mon, 20 Mar 2023 05:55:21 +0000 Subject: [PATCH] fix empty myINSTALLPACKAGES --- iso/installer/install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/iso/installer/install.sh b/iso/installer/install.sh index 85fa4932..72d921a8 100755 --- a/iso/installer/install.sh +++ b/iso/installer/install.sh @@ -26,6 +26,11 @@ if [ -f "../../packages.txt" ]; then myINSTALLPACKAGESFILE="../../packages.txt" elif [ -f "/opt/tpot/packages.txt" ]; then myINSTALLPACKAGESFILE="/opt/tpot/packages.txt" +elif [ -f "/root/tpot/packages.txt" ]; + then myINSTALLPACKAGESFILE="/root/tpot/packages.txt" +else + echo "packages.txt NOT FOUND." + exit 1 fi myINSTALLPACKAGES=$(cat $myINSTALLPACKAGESFILE) myINFO="\