Replace #! /bin/bash to #! /usr/bin/env bash
This commit is contained in:
parent
6dc4ee28ab
commit
25cbeced9a
@ -1,7 +1,8 @@
|
||||
# Copyright 2016 Bryan J. Hong
|
||||
# Licensed under the Apache License, Version 2.0
|
||||
|
||||
#! /bin/bash
|
||||
#! /usr/bin/env bash
|
||||
|
||||
cat << EOF > /opt/gpg_batch
|
||||
%echo Generating a GPG key, might take a while
|
||||
Key-Type: RSA
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright 2016 Bryan J. Hong
|
||||
# Licensed under the Apache License, Version 2.0
|
||||
|
||||
#! /bin/bash
|
||||
#! /usr/bin/env bash
|
||||
|
||||
cat << EOF > /etc/nginx/conf.d/default.conf
|
||||
server_names_hash_bucket_size 64;
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Copyright 2016 Bryan J. Hong
|
||||
# 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 [[ ! -f /opt/aptly/aptly.sec ]] || [[ ! -f /opt/aptly/aptly.pub ]]; then
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /bin/bash
|
||||
#! /usr/bin/env bash
|
||||
set -e
|
||||
|
||||
# Automate the initial creation and update of a Debian package mirror in aptly
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /bin/bash
|
||||
#! /usr/bin/env bash
|
||||
set -e
|
||||
|
||||
# Automate the initial creation and update of an Ubuntu package mirror in aptly
|
||||
|
Loading…
Reference in New Issue
Block a user