summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Smirnov <urpylka@gmail.com>2018-09-13 21:00:08 +0300
committerArtem Smirnov <urpylka@gmail.com>2018-09-14 00:41:46 +0300
commit526d7711f6e8f59d4efa3e60c041e99a65d8fa23 (patch)
treecc79ed2bbf28737486480ffea8bb1925312d0cb8
parenta5cbbb8a1174a10175e724e24d597698765b2b72 (diff)
Fix: replace order of license and interpretator string
-rwxr-xr-xassets/gpg_batch.sh4
-rwxr-xr-xassets/nginx.conf.sh4
-rwxr-xr-xassets/startup.sh4
3 files changed, 6 insertions, 6 deletions
diff --git a/assets/gpg_batch.sh b/assets/gpg_batch.sh
index 6b9c471..6af2994 100755
--- a/assets/gpg_batch.sh
+++ b/assets/gpg_batch.sh
@@ -1,8 +1,8 @@
1#! /usr/bin/env bash
2
1# Copyright 2016 Bryan J. Hong 3# Copyright 2016 Bryan J. Hong
2# Licensed under the Apache License, Version 2.0 4# Licensed under the Apache License, Version 2.0
3 5
4#! /usr/bin/env bash
5
6cat << EOF > /opt/gpg_batch 6cat << EOF > /opt/gpg_batch
7%echo Generating a GPG key, might take a while 7%echo Generating a GPG key, might take a while
8Key-Type: RSA 8Key-Type: RSA
diff --git a/assets/nginx.conf.sh b/assets/nginx.conf.sh
index e5926c2..c81740b 100755
--- a/assets/nginx.conf.sh
+++ b/assets/nginx.conf.sh
@@ -1,8 +1,8 @@
1#! /usr/bin/env bash
2
1# Copyright 2016 Bryan J. Hong 3# Copyright 2016 Bryan J. Hong
2# Licensed under the Apache License, Version 2.0 4# Licensed under the Apache License, Version 2.0
3 5
4#! /usr/bin/env bash
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;
8server { 8server {
diff --git a/assets/startup.sh b/assets/startup.sh
index 2a3efa2..5ca96a9 100755
--- a/assets/startup.sh
+++ b/assets/startup.sh
@@ -1,9 +1,9 @@
1#! /usr/bin/env bash
2
1# Copyright 2018 Artem B. Smirnov 3# Copyright 2018 Artem B. Smirnov
2# Copyright 2016 Bryan J. Hong 4# Copyright 2016 Bryan J. Hong
3# Licensed under the Apache License, Version 2.0 5# Licensed under the Apache License, Version 2.0
4 6
5#! /usr/bin/env bash
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
9 /opt/gpg_batch.sh 9 /opt/gpg_batch.sh