mirror of
https://github.com/Mesteriis/hassio-addons-avm.git
synced 2026-01-10 07:21:01 +01:00
12 lines
248 B
Plaintext
12 lines
248 B
Plaintext
#!/usr/bin/with-contenv bashio
|
|
set -e
|
|
|
|
bashio::log.info 'Setup Folders'
|
|
|
|
MEDIA_FOLDER=$(bashio::config 'media_folder')
|
|
PLAYLIST_FOLDER=$(bashio::config 'playlist_folder')
|
|
|
|
mkdir -p /data/database \
|
|
"${MEDIA_FOLDER}" \
|
|
"${PLAYLIST_FOLDER}"
|