Merge pull request #1283 from tadashi-oya/fix-empty-myINSTALLPACKAGES

fix empty myINSTALLPACKAGES
This commit is contained in:
Marco Ochse
2023-03-23 16:21:18 +01:00
committed by GitHub

View File

@ -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="\