improve shebang in scripts

This commit is contained in:
buanet
2023-11-14 20:29:17 +01:00
parent 2eb7f4e71f
commit 92821ab262
6 changed files with 6 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
## Changelog
### v9.1.0-beta.2 (coming soon)
* improve shebang in scripts for downgrade and portability
* enhance logging/ fix typos
* add env PACKAGES_UPDATE and remove automatic package updates on first container start
* improve setuid/setgid handling during startup ([#397](https://github.com/buanet/ioBroker.docker/issues/397))

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Script checks health of running container

View File

@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/usr/bin/env bash
# run iob fix
iob_fix () {

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ -e /usr/sbin/avahi-daemon ] && [ -e /var/run/dbus ]
then

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# reading env
debug=$DEBUG

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# bash strict mode
set -euo pipefail