mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-30 11:16:06 +02:00
Update 00-aaa_portainer_install.sh
This commit is contained in:
@@ -16,8 +16,8 @@ if [ -e "/PORTFILE" ]; then
|
|||||||
if [[ "${BUILD_ARCH}" == arm ]]; then ARCH="arm"; fi
|
if [[ "${BUILD_ARCH}" == arm ]]; then ARCH="arm"; fi
|
||||||
if [[ "${BUILD_ARCH}" == *x86* ]]; then ARCH="amd64"; fi
|
if [[ "${BUILD_ARCH}" == *x86* ]]; then ARCH="amd64"; fi
|
||||||
|
|
||||||
curl -f -L -s \
|
curl -f -L -s -S \
|
||||||
"https://github.com/portainer/portainer/releases/download/${BUILD_UPSTREAM}/portainer-${BUILD_UPSTREAM}-linux-${ARCH}.tar.gz" |
|
"https://github.com/portainer/portainer/releases/download/${BUILD_UPSTREAM}/portainer-${BUILD_UPSTREAM}-linux-${ARCH}.tar.gz" |
|
||||||
tar zxvf - -C /opt/
|
tar zxvf - -C /opt/ >/dev/null
|
||||||
echo "... success!"
|
echo "... success!"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user