Browse Source

Fix: replace order of license and interpretator string

Artem Smirnov 7 months ago
parent
commit
526d7711f6
3 changed files with 6 additions and 6 deletions
  1. 2
    2
      assets/gpg_batch.sh
  2. 2
    2
      assets/nginx.conf.sh
  3. 2
    2
      assets/startup.sh

+ 2
- 2
assets/gpg_batch.sh View File

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

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

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

+ 2
- 2
assets/startup.sh View File

@@ -1,9 +1,9 @@
1
+#! /usr/bin/env bash
2
+
1 3
 # Copyright 2018 Artem B. Smirnov
2 4
 # Copyright 2016 Bryan J. Hong
3 5
 # Licensed under the Apache License, Version 2.0
4 6
 
5
-#! /usr/bin/env bash
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
9 9
   /opt/gpg_batch.sh

Loading…
Cancel
Save