Replace #! /bin/bash to #! /usr/bin/env bash

This commit is contained in:
Artem Smirnov 2018-09-13 04:50:48 +03:00
parent 6dc4ee28ab
commit 25cbeced9a
5 changed files with 6 additions and 5 deletions

View File

@ -1,7 +1,8 @@
# Copyright 2016 Bryan J. Hong # Copyright 2016 Bryan J. Hong
# Licensed under the Apache License, Version 2.0 # Licensed under the Apache License, Version 2.0
#! /bin/bash #! /usr/bin/env bash
cat << EOF > /opt/gpg_batch cat << EOF > /opt/gpg_batch
%echo Generating a GPG key, might take a while %echo Generating a GPG key, might take a while
Key-Type: RSA Key-Type: RSA

View File

@ -1,7 +1,7 @@
# Copyright 2016 Bryan J. Hong # Copyright 2016 Bryan J. Hong
# Licensed under the Apache License, Version 2.0 # Licensed under the Apache License, Version 2.0
#! /bin/bash #! /usr/bin/env bash
cat << EOF > /etc/nginx/conf.d/default.conf cat << EOF > /etc/nginx/conf.d/default.conf
server_names_hash_bucket_size 64; server_names_hash_bucket_size 64;

View File

@ -2,7 +2,7 @@
# Copyright 2016 Bryan J. Hong # Copyright 2016 Bryan J. Hong
# Licensed under the Apache License, Version 2.0 # Licensed under the Apache License, Version 2.0
#! /bin/bash #! /usr/bin/env bash
# If the repository GPG keypair doesn't exist, create it. # If the repository GPG keypair doesn't exist, create it.
if [[ ! -f /opt/aptly/aptly.sec ]] || [[ ! -f /opt/aptly/aptly.pub ]]; then if [[ ! -f /opt/aptly/aptly.sec ]] || [[ ! -f /opt/aptly/aptly.pub ]]; then

View File

@ -1,4 +1,4 @@
#! /bin/bash #! /usr/bin/env bash
set -e set -e
# Automate the initial creation and update of a Debian package mirror in aptly # Automate the initial creation and update of a Debian package mirror in aptly

View File

@ -1,4 +1,4 @@
#! /bin/bash #! /usr/bin/env bash
set -e set -e
# Automate the initial creation and update of an Ubuntu package mirror in aptly # Automate the initial creation and update of an Ubuntu package mirror in aptly