Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -o errexit
set -o nounset
Expand Down
2 changes: 1 addition & 1 deletion docker/bin/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# shellcheck disable=SC2181

# set -o xtrace
Expand Down
2 changes: 1 addition & 1 deletion docker/keycloak/prepare.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

KEYCLOAK_REALM_CONFIG="/opt/keycloak/data/import/Example-realm.json"
PROTOCOL="${PROTOCOL:-http}"
Expand Down
4 changes: 2 additions & 2 deletions docs/customizing/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The following hooks are currently available:
## Example for after-install.sh

```bash
#!/bin/bash
#!/usr/bin/env bash

echo 'Create some users'
export OC_PASS=mycustomuser
Expand All @@ -22,7 +22,7 @@ occ user:add --password-from-env mycustomuser
## Example for before-start.sh

```bash
#!/bin/bash
#!/usr/bin/env bash

echo 'Always disable the firstrunwizard'
occ app:disable firstrunwizard
Expand Down
4 changes: 3 additions & 1 deletion scripts/download-full-history.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash -e
#!/usr/bin/env bash

set -e

isShallow() {
# Reference: https://stackoverflow.com/a/37533086
Expand Down
2 changes: 1 addition & 1 deletion scripts/functions.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

function get_docker_compose_command() {
docker-compose version >/dev/null 2>/dev/null && DCC='docker-compose'
Expand Down
2 changes: 1 addition & 1 deletion scripts/mysql.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
Expand Down
2 changes: 1 addition & 1 deletion scripts/occ.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
Expand Down
2 changes: 1 addition & 1 deletion scripts/php-mod-config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-certs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-hosts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
Expand Down