mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-27 08:14:17 +00:00
Update Dockerfile
This commit is contained in:
1 parent
217a7c7cd1
commit
6f76debdd6
1 file changed
+7
-2
+7
-2
@@ -122,8 +122,13 @@ RUN set -e; \
|
||||
-o "/tmp/${name}.crx"; \
|
||||
rm -rf "${extensions_dir:?}/${name}"; \
|
||||
mkdir -p "${extensions_dir}/${name}"; \
|
||||
unzip -q "/tmp/${name}.crx" -d "${extensions_dir}/${name}"; \
|
||||
rm "/tmp/${name}.crx"; \
|
||||
rc=0; \
|
||||
unzip -q "/tmp/${name}.crx" -d "${extensions_dir}/${name}" || rc=$$?; \
|
||||
if [ "$$rc" -ne 0 ] && [ "$$rc" -ne 1 ]; then \
|
||||
echo "ERROR: unzip failed for ${name} (rc=$$rc)"; \
|
||||
exit "$$rc"; \
|
||||
fi; \
|
||||
rm -f "/tmp/${name}.crx"; \
|
||||
done; \
|
||||
chown -R chrome:chrome "${extensions_dir}"
|
||||
|
||||
|
||||
Reference in new issue
Block a user