mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update install.sh
This commit is contained in:
parent
c60724e9ed
commit
19fe32c581
@ -563,8 +563,11 @@ docker_compose_up(){
|
|||||||
else
|
else
|
||||||
radovan 1 "ERROR: Neither .bashrc nor .zshrc file found. Exiting."
|
radovan 1 "ERROR: Neither .bashrc nor .zshrc file found. Exiting."
|
||||||
fi
|
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
|
if grep -q "docker() {" "$config_file"; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user