summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Smirnov <urpylka@gmail.com>2018-09-13 04:50:48 +0300
committerArtem Smirnov <urpylka@gmail.com>2018-09-14 00:41:46 +0300
commit25cbeced9a2b3113a31deee913f63f35103b7aec (patch)
treec00944ee99e69126451d4800616936d8f3c79ddf
parent6dc4ee28abfeb3e01b77876350e703f74c196b20 (diff)
Replace #! /bin/bash to #! /usr/bin/env bash
-rwxr-xr-xassets/gpg_batch.sh3
-rwxr-xr-xassets/nginx.conf.sh2
-rwxr-xr-xassets/startup.sh2
-rwxr-xr-xassets/update_mirror_debian.sh2
-rwxr-xr-xassets/update_mirror_ubuntu.sh2
5 files changed, 6 insertions, 5 deletions
diff --git a/assets/gpg_batch.sh b/assets/gpg_batch.sh
index ff36b34..6b9c471 100755
--- a/assets/gpg_batch.sh
+++ b/assets/gpg_batch.sh
@@ -1,7 +1,8 @@
1# Copyright 2016 Bryan J. Hong 1# Copyright 2016 Bryan J. Hong
2# Licensed under the Apache License, Version 2.0 2# Licensed under the Apache License, Version 2.0
3 3
4#! /bin/bash 4#! /usr/bin/env bash
5
5cat << EOF > /opt/gpg_batch 6cat << EOF > /opt/gpg_batch
6%echo Generating a GPG key, might take a while 7%echo Generating a GPG key, might take a while
7Key-Type: RSA 8Key-Type: RSA
diff --git a/assets/nginx.conf.sh b/assets/nginx.conf.sh
index 29701aa..e5926c2 100755
--- a/assets/nginx.conf.sh
+++ b/assets/nginx.conf.sh
@@ -1,7 +1,7 @@
1# Copyright 2016 Bryan J. Hong 1# Copyright 2016 Bryan J. Hong
2# Licensed under the Apache License, Version 2.0 2# Licensed under the Apache License, Version 2.0
3 3
4#! /bin/bash 4#! /usr/bin/env bash
5 5
6cat << EOF > /etc/nginx/conf.d/default.conf 6cat << EOF > /etc/nginx/conf.d/default.conf
7server_names_hash_bucket_size 64; 7server_names_hash_bucket_size 64;
diff --git a/assets/startup.sh b/assets/startup.sh
index 8afef99..2a3efa2 100755
--- a/assets/startup.sh
+++ b/assets/startup.sh
@@ -2,7 +2,7 @@
2# Copyright 2016 Bryan J. Hong 2# Copyright 2016 Bryan J. Hong
3# Licensed under the Apache License, Version 2.0 3# Licensed under the Apache License, Version 2.0
4 4
5#! /bin/bash 5#! /usr/bin/env bash
6 6
7# If the repository GPG keypair doesn't exist, create it. 7# If the repository GPG keypair doesn't exist, create it.
8if [[ ! -f /opt/aptly/aptly.sec ]] || [[ ! -f /opt/aptly/aptly.pub ]]; then 8if [[ ! -f /opt/aptly/aptly.sec ]] || [[ ! -f /opt/aptly/aptly.pub ]]; then
diff --git a/assets/update_mirror_debian.sh b/assets/update_mirror_debian.sh
index f58bf0f..c782725 100755
--- a/assets/update_mirror_debian.sh
+++ b/assets/update_mirror_debian.sh
@@ -1,4 +1,4 @@
1#! /bin/bash 1#! /usr/bin/env bash
2set -e 2set -e
3 3
4# Automate the initial creation and update of a Debian package mirror in aptly 4# Automate the initial creation and update of a Debian package mirror in aptly
diff --git a/assets/update_mirror_ubuntu.sh b/assets/update_mirror_ubuntu.sh
index f05052d..f2faa84 100755
--- a/assets/update_mirror_ubuntu.sh
+++ b/assets/update_mirror_ubuntu.sh
@@ -1,4 +1,4 @@
1#! /bin/bash 1#! /usr/bin/env bash
2set -e 2set -e
3 3
4# Automate the initial creation and update of an Ubuntu package mirror in aptly 4# Automate the initial creation and update of an Ubuntu package mirror in aptly