mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-07 08:05:57 +02:00
Lint
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
MIGRATED=""
|
|
||||||
PREVIOUS_FOLDER="immich"
|
PREVIOUS_FOLDER="immich"
|
||||||
|
|
||||||
# Move main folder
|
# Move main folder
|
||||||
@@ -18,5 +17,5 @@ fi
|
|||||||
# Move autoscript
|
# Move autoscript
|
||||||
if [ -f /homeassistant/addons_autoscrips/immich.sh ]; then
|
if [ -f /homeassistant/addons_autoscrips/immich.sh ]; then
|
||||||
cp -rnf /homeassistant/addons_autoscrips/"$PREVIOUS_FOLDER".sh /config/ &>/dev/null || true
|
cp -rnf /homeassistant/addons_autoscrips/"$PREVIOUS_FOLDER".sh /config/ &>/dev/null || true
|
||||||
bashio::log.yellow "... moved "$PREVIOUS_FOLDER".sh from /config/addons_autoscripts to /addon_configs/$HOSTNAME"
|
bashio::log.yellow "... moved $PREVIOUS_FOLDER.sh from /config/addons_autoscripts to /addon_configs/$HOSTNAME"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user