Update install.sh

This commit is contained in:
Stefan Pejcic 2025-03-24 20:52:47 +01:00 committed by GitHub
parent c60724e9ed
commit 19fe32c581
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -563,8 +563,11 @@ docker_compose_up(){
else
radovan 1 "ERROR: Neither .bashrc nor .zshrc file found. Exiting."
fi
# Check if the function already exists in the config file
# for armcpu, or if user did sudo su to switch..
source ~/.bashrc
# Check if the function already exists in the config file
if grep -q "docker() {" "$config_file"; then
:
else