mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-08 06:50:58 +02:00
chmod +x scripts
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
#!/usr/bin/env bashio
|
||||
# shellcheck shell=bash
|
||||
|
||||
CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
|
||||
CONFIGSOURCE=$(dirname "$CONFIGSOURCE")
|
||||
|
||||
# Create directory
|
||||
mkdir -p "$CONFIGSOURCE" || true
|
||||
mkdir -p "$CONFIGSOURCE/import_files" || true
|
||||
mkdir -p "$CONFIGSOURCE/configurations" || true
|
||||
|
||||
# Make sure permissions are right
|
||||
chown -R "root:root" "$CONFIGSOURCE"
|
||||
chmod -R 755 "$CONFIGSOURCE"
|
||||
Reference in New Issue
Block a user