mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-05-01 12:48:50 +00:00
fix empty myINSTALLPACKAGES
This commit is contained in:
parent
668a4d91a7
commit
4bae09e408
1 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,11 @@ if [ -f "../../packages.txt" ];
|
||||||
then myINSTALLPACKAGESFILE="../../packages.txt"
|
then myINSTALLPACKAGESFILE="../../packages.txt"
|
||||||
elif [ -f "/opt/tpot/packages.txt" ];
|
elif [ -f "/opt/tpot/packages.txt" ];
|
||||||
then myINSTALLPACKAGESFILE="/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
|
fi
|
||||||
myINSTALLPACKAGES=$(cat $myINSTALLPACKAGESFILE)
|
myINSTALLPACKAGES=$(cat $myINSTALLPACKAGESFILE)
|
||||||
myINFO="\
|
myINFO="\
|
||||||
|
|
Loading…
Reference in a new issue