mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-15 11:59:11 +02:00
Date format
This commit is contained in:
@@ -30,7 +30,7 @@ for addons in $(bashio::config "addon|keys"); do
|
|||||||
BETA=$(bashio::config "addon[${addons}].beta")
|
BETA=$(bashio::config "addon[${addons}].beta")
|
||||||
FULLTAG=$(bashio::config "addon[${addons}].fulltag")
|
FULLTAG=$(bashio::config "addon[${addons}].fulltag")
|
||||||
BASENAME=$(basename "https://github.com/$REPOSITORY")
|
BASENAME=$(basename "https://github.com/$REPOSITORY")
|
||||||
DATE=${date +”%d-%b-%Y”}
|
DATE="$(date '+%d-%m-%Y')"
|
||||||
|
|
||||||
#Create or update local version
|
#Create or update local version
|
||||||
if [ ! -d /data/$BASENAME ]; then
|
if [ ! -d /data/$BASENAME ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user