Update alpine-docker-v5.sh
fix directory check
This commit is contained in:
parent
73cae0aa60
commit
32a1ccb59a
1 changed files with 6 additions and 6 deletions
|
@ -396,13 +396,13 @@ if command -v pveversion >/dev/null 2>&1; then
|
||||||
install_script
|
install_script
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/zigbee2mqtt/configuration.yaml ]]; then
|
if ! command -v pveversion >/dev/null 2>&1; then
|
||||||
|
if [[ ! -d /etc/docker ]]; then
|
||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
fi
|
else
|
||||||
|
|
||||||
if ! command -v pveversion >/dev/null 2>&1 && [[ -f /etc/zigbee2mqtt/configuration.yaml ]]; then
|
|
||||||
update_script
|
update_script
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
if [ "$CT_TYPE" == "1" ]; then
|
if [ "$CT_TYPE" == "1" ]; then
|
||||||
|
|
Loading…
Reference in a new issue