mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 21:34:06 +02:00
Update run.sh
This commit is contained in:
@@ -1,13 +1,14 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
bashio::log.info "Checking status of referenced repositoriess..."
|
bashio::log.info "Checking status of referenced repositoriess..."
|
||||||
|
VERBOSE=$(bashio::config 'verbose')
|
||||||
|
|
||||||
|
#Defining github value
|
||||||
|
LOGINFO="... github authentification" &€ if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
|
||||||
|
|
||||||
#Defining github values
|
|
||||||
bashio::log.info "... github authentification"
|
|
||||||
GITUSER=$(bashio::config 'gituser')
|
GITUSER=$(bashio::config 'gituser')
|
||||||
GITPASS=$(bashio::config 'gitpass')
|
GITPASS=$(bashio::config 'gitpass')
|
||||||
GITMAIL=$(bashio::config 'gitmail')
|
GITMAIL=$(bashio::config 'gitmail')
|
||||||
VERBOSE=$(bashio::config 'verbose')
|
|
||||||
git config --system http.sslVerify false
|
git config --system http.sslVerify false
|
||||||
git config --system credential.helper 'cache --timeout 7200'
|
git config --system credential.helper 'cache --timeout 7200'
|
||||||
git config --system user.name ${GITUSER}
|
git config --system user.name ${GITUSER}
|
||||||
|
|||||||
Reference in New Issue
Block a user