aboutsummaryrefslogtreecommitdiff
path: root/webui.sh
diff options
context:
space:
mode:
authorAlessandro de Oliveira Faria (A.K.A. CABELO) <cabelo@opensuse.org>2023-11-10 14:15:34 -0300
committerAlessandro de Oliveira Faria (A.K.A. CABELO) <cabelo@opensuse.org>2023-11-10 14:15:34 -0300
commit6a86b3ad9bc7bb9a58dc4228ecf93a3a511ed122 (patch)
tree30ec1b2637c7d6e29ba85d878ccfa9bbccfad8b1 /webui.sh
parent66767e3876dde8d0ef27ce00254cd6b75332f036 (diff)
Compatibility with Debian 11, Fedora 34+ and openSUSE 15.4+
Diffstat (limited to 'webui.sh')
-rwxr-xr-xwebui.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/webui.sh b/webui.sh
index 3d0f87ee..5c23c1d8 100755
--- a/webui.sh
+++ b/webui.sh
@@ -87,7 +87,7 @@ delimiter="################################################################"
printf "\n%s\n" "${delimiter}"
printf "\e[1m\e[32mInstall script for stable-diffusion + Web UI\n"
-printf "\e[1m\e[34mTested on Debian 11 (Bullseye)\e[0m"
+printf "\e[1m\e[34mTested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer.\e[0m"
printf "\n%s\n" "${delimiter}"
# Do not run as root
@@ -222,7 +222,7 @@ fi
# Try using TCMalloc on Linux
prepare_tcmalloc() {
if [[ "${OSTYPE}" == "linux"* ]] && [[ -z "${NO_TCMALLOC}" ]] && [[ -z "${LD_PRELOAD}" ]]; then
- TCMALLOC="$(PATH=/usr/sbin:$PATH ldconfig -p | grep -Po "libtcmalloc(_minimal|)\.so\.\d" | head -n 1)"
+ TCMALLOC="$(PATH=/sbin:$PATH ldconfig -p | grep -Po "libtcmalloc(_minimal|)\.so\.\d" | head -n 1)"
if [[ ! -z "${TCMALLOC}" ]]; then
echo "Using TCMalloc: ${TCMALLOC}"
export LD_PRELOAD="${TCMALLOC}"