Skip to content

Commit

Permalink
Unify indent size of shell scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
hidakatsuya committed Jul 14, 2024
1 parent 1ceb86e commit 0895d5e
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 35 deletions.
12 changes: 6 additions & 6 deletions scripts/setup-base-4.2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions scripts/setup-base-5.0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions scripts/setup-base-5.1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions scripts/setup-base-next.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions scripts/setup-db-mysql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOS > config/database.yml
Expand Down
8 changes: 4 additions & 4 deletions scripts/setup-db-postgresql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOS > config/database.yml
Expand Down

0 comments on commit 0895d5e

Please sign in to comment.