From 8d596c07dfb80b429cfb1bd3191a70eecac61d7f Mon Sep 17 00:00:00 2001 From: elwynelwyn Date: Thu, 8 Sep 2022 19:53:06 +1200 Subject: [PATCH] Add shebangs to all sh files --- scripts/on_env_start.sh | 2 ++ scripts/on_sd_start.sh | 2 ++ scripts/post_activate.sh | 2 ++ scripts/start.sh | 2 ++ 4 files changed, 8 insertions(+) diff --git a/scripts/on_env_start.sh b/scripts/on_env_start.sh index 145abd3a..044f9124 100755 --- a/scripts/on_env_start.sh +++ b/scripts/on_env_start.sh @@ -1,3 +1,5 @@ +#!/bin/bash + printf "\n\nStable Diffusion UI\n\n" if [ -f "scripts/install_status.txt" ] && [ `grep -c sd_ui_git_cloned scripts/install_status.txt` -gt "0" ]; then diff --git a/scripts/on_sd_start.sh b/scripts/on_sd_start.sh index 200d7f20..fdd2ff70 100755 --- a/scripts/on_sd_start.sh +++ b/scripts/on_sd_start.sh @@ -1,3 +1,5 @@ +#!/bin/bash + cp sd-ui-files/scripts/on_env_start.sh scripts/ source installer/etc/profile.d/conda.sh diff --git a/scripts/post_activate.sh b/scripts/post_activate.sh index 4f0921d2..ec715af0 100755 --- a/scripts/post_activate.sh +++ b/scripts/post_activate.sh @@ -1,3 +1,5 @@ +#!/bin/bash + conda-unpack source $CONDA_PREFIX/etc/profile.d/conda.sh diff --git a/scripts/start.sh b/scripts/start.sh index 407796a6..d6c75ad8 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1,3 +1,5 @@ +#!/bin/bash + source installer/bin/activate conda-unpack