From 0895d5e5668cf1f97869a8dd2cb55f90f7d13e06 Mon Sep 17 00:00:00 2001 From: Katsuya Hidaka Date: Sun, 14 Jul 2024 15:22:14 +0900 Subject: [PATCH] Unify indent size of shell scripts --- scripts/setup-base-4.2.sh | 12 ++++++------ scripts/setup-base-5.0.sh | 12 ++++++------ scripts/setup-base-5.1.sh | 12 ++++++------ scripts/setup-base-next.sh | 12 ++++++------ scripts/setup-db-mysql.sh | 14 +++++++------- scripts/setup-db-postgresql.sh | 8 ++++---- 6 files changed, 35 insertions(+), 35 deletions(-) diff --git a/scripts/setup-base-4.2.sh b/scripts/setup-base-4.2.sh index 1af3bc7..7490079 100755 --- a/scripts/setup-base-4.2.sh +++ b/scripts/setup-base-4.2.sh @@ -5,12 +5,12 @@ set -eu # Install dependencies sudo apt-get update; \ sudo apt-get install -y --no-install-recommends \ - build-essential \ - bzr git mercurial subversion cvs \ - ghostscript \ - gsfonts \ - imagemagick libmagick++-dev \ - libnss3-dev; + build-essential \ + bzr git mercurial subversion cvs \ + ghostscript \ + gsfonts \ + imagemagick libmagick++-dev \ + libnss3-dev; # Allow ImageMagick to read PDF files sudo sed -ri 's/(rights)="none" (pattern="PDF")/\1="read" \2/' /etc/ImageMagick-6/policy.xml diff --git a/scripts/setup-base-5.0.sh b/scripts/setup-base-5.0.sh index f7add9b..806b0b1 100755 --- a/scripts/setup-base-5.0.sh +++ b/scripts/setup-base-5.0.sh @@ -5,12 +5,12 @@ set -eu # Install dependencies sudo apt-get update; \ sudo apt-get install -y --no-install-recommends \ - build-essential \ - bzr git mercurial subversion cvs \ - ghostscript \ - gsfonts \ - imagemagick libmagick++-dev \ - libnss3-dev; + build-essential \ + bzr git mercurial subversion cvs \ + ghostscript \ + gsfonts \ + imagemagick libmagick++-dev \ + libnss3-dev; # Allow ImageMagick to read PDF files sudo sed -ri 's/(rights)="none" (pattern="PDF")/\1="read" \2/' /etc/ImageMagick-6/policy.xml diff --git a/scripts/setup-base-5.1.sh b/scripts/setup-base-5.1.sh index f7add9b..806b0b1 100755 --- a/scripts/setup-base-5.1.sh +++ b/scripts/setup-base-5.1.sh @@ -5,12 +5,12 @@ set -eu # Install dependencies sudo apt-get update; \ sudo apt-get install -y --no-install-recommends \ - build-essential \ - bzr git mercurial subversion cvs \ - ghostscript \ - gsfonts \ - imagemagick libmagick++-dev \ - libnss3-dev; + build-essential \ + bzr git mercurial subversion cvs \ + ghostscript \ + gsfonts \ + imagemagick libmagick++-dev \ + libnss3-dev; # Allow ImageMagick to read PDF files sudo sed -ri 's/(rights)="none" (pattern="PDF")/\1="read" \2/' /etc/ImageMagick-6/policy.xml diff --git a/scripts/setup-base-next.sh b/scripts/setup-base-next.sh index f7add9b..806b0b1 100755 --- a/scripts/setup-base-next.sh +++ b/scripts/setup-base-next.sh @@ -5,12 +5,12 @@ set -eu # Install dependencies sudo apt-get update; \ sudo apt-get install -y --no-install-recommends \ - build-essential \ - bzr git mercurial subversion cvs \ - ghostscript \ - gsfonts \ - imagemagick libmagick++-dev \ - libnss3-dev; + build-essential \ + bzr git mercurial subversion cvs \ + ghostscript \ + gsfonts \ + imagemagick libmagick++-dev \ + libnss3-dev; # Allow ImageMagick to read PDF files sudo sed -ri 's/(rights)="none" (pattern="PDF")/\1="read" \2/' /etc/ImageMagick-6/policy.xml diff --git a/scripts/setup-db-mysql.sh b/scripts/setup-db-mysql.sh index 63aa79e..7000f26 100755 --- a/scripts/setup-db-mysql.sh +++ b/scripts/setup-db-mysql.sh @@ -5,13 +5,13 @@ set -eu sudo apt-get install -y --no-install-recommends default-mysql-client docker run \ - --name redmine-mysql \ - -e MYSQL_ROOT_PASSWORD=password \ - -e MYSQL_DATABASE=redmine_test \ - -p 3306:3306 \ - -d $DATABASE \ - --character-set-server=utf8mb4 \ - --collation-server=utf8mb4_unicode_ci + --name redmine-mysql \ + -e MYSQL_ROOT_PASSWORD=password \ + -e MYSQL_DATABASE=redmine_test \ + -p 3306:3306 \ + -d $DATABASE \ + --character-set-server=utf8mb4 \ + --collation-server=utf8mb4_unicode_ci cd $REDMINE_DIR cat < config/database.yml diff --git a/scripts/setup-db-postgresql.sh b/scripts/setup-db-postgresql.sh index f9f335f..c3c99d0 100755 --- a/scripts/setup-db-postgresql.sh +++ b/scripts/setup-db-postgresql.sh @@ -5,10 +5,10 @@ set -eu sudo apt-get install -y --no-install-recommends libpq-dev docker run \ - --name redmine-postgres \ - -e POSTGRES_PASSWORD=postgres \ - -p 5432:5432 \ - -d $DATABASE + --name redmine-postgres \ + -e POSTGRES_PASSWORD=postgres \ + -p 5432:5432 \ + -d $DATABASE cd $REDMINE_DIR cat < config/database.yml