Update 99-database_clean.sh

This commit is contained in:
Alexandre
2022-12-17 01:29:29 +01:00
committed by GitHub
parent 6ba38bfc43
commit 6c773558be

View File

@@ -1,4 +1,5 @@
#!/bin/bash
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
LOCATION=$(bashio::config 'data_location')
if [[ "$LOCATION" = "null" || -z "$LOCATION" ]]; then LOCATION=/config/addons_config/${HOSTNAME#*-}; fi