Remove unusual space from shebang line (#2834)

This commit is contained in:
Casper 2022-10-17 10:40:09 +02:00 committed by GitHub
parent 284c44faa9
commit a930aeb18a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
64 changed files with 67 additions and 67 deletions

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# This user patches script runs right before starting the daemons. # This user patches script runs right before starting the daemons.
# That means, all the other configuration is in place, so the script # That means, all the other configuration is in place, so the script

View file

@ -21,7 +21,7 @@ If you are managing your directory structure yourself, create a `docker-data/dms
The contents could look like this: The contents could look like this:
``` sh ``` sh
#! /bin/bash #!/bin/bash
cat >/etc/amavis/conf.d/50-user << "END" cat >/etc/amavis/conf.d/50-user << "END"
use strict; use strict;

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# version v1.0.0 # version v1.0.0
# executed manually / via Make # executed manually / via Make

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/log.sh # shellcheck source=../scripts/helpers/log.sh
source /usr/local/bin/helpers/log.sh source /usr/local/bin/helpers/log.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# Report a quota usage warning to an user # Report a quota usage warning to an user

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
SCRIPT='setup' SCRIPT='setup'

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../scripts/helpers/index.sh # shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
set -e set -e

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# -eE :: exit on error (do this in functions as well) # -eE :: exit on error (do this in functions as well)
# -u :: show (and exit) when using unset variables # -u :: show (and exit) when using unset variables

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# TODO: Adapt for compatibility with LDAP # TODO: Adapt for compatibility with LDAP
# Only the cert renewal change detection may be relevant for LDAP? # Only the cert renewal change detection may be relevant for LDAP?

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# Support for Postfix accounts managed via Dovecot # Support for Postfix accounts managed via Dovecot

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# Support for Postfix aliases # Support for Postfix aliases
# NOTE: LDAP doesn't appear to use this, but the docs page: "Use Cases | Forward-Only Mail-Server with LDAP" # NOTE: LDAP doesn't appear to use this, but the docs page: "Use Cases | Forward-Only Mail-Server with LDAP"

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# This helper supports the changedetector service. Used by: # This helper supports the changedetector service. Used by:
# - check-for-changes.sh # - check-for-changes.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# Matches relative path to this scripts parent directory, # Matches relative path to this scripts parent directory,
# Must be defined above any function that would source relative to it: # Must be defined above any function that would source relative to it:

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# Manage DB writes for: DATABASE_QUOTA # Manage DB writes for: DATABASE_QUOTA

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# Manage DB writes for: # Manage DB writes for:
# - DATABASE_ACCOUNTS # - DATABASE_ACCOUNTS

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# Manage DB writes for: DATABASE_VIRTUAL # Manage DB writes for: DATABASE_VIRTUAL

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# Outputs the DNS label count (delimited by `.`) for the given input string. # Outputs the DNS label count (delimited by `.`) for the given input string.
# Useful for determining an FQDN like `mail.example.com` (3), vs `example.com` (2). # Useful for determining an FQDN like `mail.example.com` (3), vs `example.com` (2).

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
function _exit_with_error function _exit_with_error
{ {

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source-path=target/scripts/helpers # shellcheck source-path=target/scripts/helpers
# This file serves as a single import for all helpers # This file serves as a single import for all helpers

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# This becomes the sourcing script name # This becomes the sourcing script name
# (example: check-for-changes.sh) # (example: check-for-changes.sh)

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck disable=SC2291 # Quote repeated spaces to avoid them collapsing into one. # shellcheck disable=SC2291 # Quote repeated spaces to avoid them collapsing into one.
# shellcheck disable=SC2034 # VAR appears unused. # shellcheck disable=SC2034 # VAR appears unused.

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
function _mask_ip_digit function _mask_ip_digit
{ {

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# Support for Postfix features # Support for Postfix features
# Docs - virtual_mailbox_domains (Used in /etc/postfix/main.cf): # Docs - virtual_mailbox_domains (Used in /etc/postfix/main.cf):

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# Support for Relay Hosts # Support for Relay Hosts
# Description: # Description:

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
function _setup_ssl function _setup_ssl
{ {

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
function _escape function _escape
{ {

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck disable=SC2034 # shellcheck disable=SC2034
declare -A VARS declare -A VARS

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# ------------------------------------------------------------ # ------------------------------------------------------------
# ? >> Sourcing helpers & stacks # ? >> Sourcing helpers & stacks

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
function _check function _check
{ {

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
function _start_daemons function _start_daemons
{ {

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
function _apply_fixes function _apply_fixes
{ {

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
function _start_misc function _start_misc
{ {

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
function _setup function _setup
{ {
@ -868,7 +868,7 @@ function _setup_security_stack
sa-update --import /etc/spamassassin/kam/kam.sa-channels.mcgrail.com.key sa-update --import /etc/spamassassin/kam/kam.sa-channels.mcgrail.com.key
cat >"${SPAMASSASSIN_KAM_CRON_FILE}" <<"EOM" cat >"${SPAMASSASSIN_KAM_CRON_FILE}" <<"EOM"
#! /bin/bash #!/bin/bash
RESULT=$(sa-update --gpgkey 24C063D8 --channel kam.sa-channels.mcgrail.com 2>&1) RESULT=$(sa-update --gpgkey 24C063D8 --channel kam.sa-channels.mcgrail.com 2>&1)
EXIT_CODE=${?} EXIT_CODE=${?}
@ -982,7 +982,7 @@ function _setup_mail_summary
_log 'trace' 'Creating daily cron job for pflogsumm report' _log 'trace' 'Creating daily cron job for pflogsumm report'
cat >/etc/cron.daily/postfix-summary << EOM cat >/etc/cron.daily/postfix-summary << EOM
#! /bin/bash #!/bin/bash
/usr/local/bin/report-pflogsumm-yesterday ${HOSTNAME} ${PFLOGSUMM_RECIPIENT} ${PFLOGSUMM_SENDER} /usr/local/bin/report-pflogsumm-yesterday ${HOSTNAME} ${PFLOGSUMM_RECIPIENT} ${PFLOGSUMM_SENDER}
EOM EOM
@ -1030,7 +1030,7 @@ function _setup_logwatch
fi fi
cat >"${LOGWATCH_FILE}" << EOM cat >"${LOGWATCH_FILE}" << EOM
#! /bin/bash #!/bin/bash
/usr/sbin/logwatch ${INTERVAL} --hostname ${HOSTNAME} --mailto ${LOGWATCH_RECIPIENT} /usr/sbin/logwatch ${INTERVAL} --hostname ${HOSTNAME} --mailto ${LOGWATCH_RECIPIENT}
EOM EOM

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=./helpers/log.sh # shellcheck source=./helpers/log.sh
source /usr/local/bin/helpers/log.sh source /usr/local/bin/helpers/log.sh

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# You cannot start fail2ban in some foreground mode and # You cannot start fail2ban in some foreground mode and
# it's more or less important that docker doesn't kill # it's more or less important that docker doesn't kill

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# You cannot start postfix in some foreground mode and # You cannot start postfix in some foreground mode and
# it's more or less important that docker doesn't kill # it's more or less important that docker doesn't kill

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# shellcheck source=../helpers/index.sh # shellcheck source=../helpers/index.sh
source /usr/local/bin/helpers/index.sh source /usr/local/bin/helpers/index.sh

View file

@ -1,2 +1,2 @@
#! /bin/bash #!/bin/bash
cat - > /tmp/pipe-test.out cat - > /tmp/pipe-test.out

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
## ##
# This user script will be executed between configuration and starting daemons # This user script will be executed between configuration and starting daemons
# To enable it you must save it in your config directory as "user-patches.sh" # To enable it you must save it in your config directory as "user-patches.sh"

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
# version v0.3.0 # version v0.3.0
# executed by Make (during CI or manually) # executed by Make (during CI or manually)

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
load 'test_helper/bats-support/load' load 'test_helper/bats-support/load'
load 'test_helper/bats-assert/load' load 'test_helper/bats-assert/load'

View file

@ -1,4 +1,4 @@
#! /bin/bash #!/bin/bash
load 'test_helper/common' load 'test_helper/common'