mirror of https://github.com/bmaltais/kohya_ss
Updates to automate runpos requirements install
parent
89c79c4110
commit
727c1858e6
8
setup.sh
8
setup.sh
|
|
@ -485,9 +485,13 @@ if [[ "$OSTYPE" == "lin"* ]]; then
|
|||
echo "Ubuntu detected."
|
||||
if [ $(dpkg-query -W -f='${Status}' python3-tk 2>/dev/null | grep -c "ok installed") = 0 ]; then
|
||||
# if [ "$root" = true ]; then
|
||||
echo "This script needs you to install the missing python3-tk packages. Please install with:"
|
||||
echo "This script needs YOU to install the missing python3-tk packages. Please install with:"
|
||||
echo " "
|
||||
echo "sudo apt update -y && sudo apt install -y python3-tk"
|
||||
if [ "$RUNPOD" = true ]; then
|
||||
bash apt update -y && apt install -y python3-tk
|
||||
else
|
||||
echo "sudo apt update -y && sudo apt install -y python3-tk"
|
||||
fi
|
||||
exit 1
|
||||
# else
|
||||
# echo "This script needs to be run as root or via sudo to install packages."
|
||||
|
|
|
|||
Loading…
Reference in New Issue