Browse Source

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

tags/v1.0
Artem Smirnov 10 months ago
parent
commit
25cbeced9a

+ 2
- 1
assets/gpg_batch.sh View File

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

+ 1
- 1
assets/nginx.conf.sh View File

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

+ 1
- 1
assets/startup.sh View File

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

+ 1
- 1
assets/update_mirror_debian.sh View File

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

+ 1
- 1
assets/update_mirror_ubuntu.sh View File

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

Loading…
Cancel
Save