mirror of
https://github.com/hassio-addons/addon-thelounge.git
synced 2025-05-04 19:11:27 +00:00
parent
2dae14468f
commit
88c0f8c4ad
1 changed files with 2 additions and 8 deletions
|
@ -6,15 +6,9 @@
|
|||
export THELOUNGE_HOME=/data/thelounge
|
||||
|
||||
if ! bashio::fs.directory_exists "/data/thelounge"; then
|
||||
mkdir -p /data/thelounge
|
||||
fi
|
||||
|
||||
if ! bashio::fs.directory_exists "/config/thelounge/users"; then
|
||||
bashio::log.info "Creating thelounge directory in /config.."
|
||||
mkdir -p /config/thelounge/users
|
||||
ln -sf /config/thelounge/users /data/thelounge/users
|
||||
bashio::log.info "Creating default hassio user.."
|
||||
cp /etc/thelounge/users/hassio.json /config/thelounge/users
|
||||
mkdir -p /data/thelounge/users
|
||||
cp /etc/thelounge/users/hassio.json /data/thelounge/users
|
||||
else
|
||||
for theme in $(bashio::config "themes")
|
||||
do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue