Skip to content

Commit

Permalink
Added to all scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Donal Byrne authored and iloveitaly committed Aug 2, 2021
1 parent 588291b commit b6cc872
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion beanstalkd-console/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/sh

# exit if a command fails
set -e
set -eo pipefail

# download
curl -sL https://github.com/ptrofimov/beanstalk_console/archive/master.tar.gz | tar xvz -C /tmp
Expand Down
2 changes: 1 addition & 1 deletion beanstalkd/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

# exit if a command fails
set -e
set -eo pipefail

version="1.10"

Expand Down
2 changes: 1 addition & 1 deletion hugin/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

# exit if a command fails
set -e
set -eo pipefail

# install hugin & panotools
apt-get update && apt-get install -y hugin
Expand Down
2 changes: 1 addition & 1 deletion jekyll/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

# exit if a command fails
set -e
set -eo pipefail

# install ruby 1.9.1
apt-get update && apt-get install -y ruby ruby-dev build-essential
Expand Down
2 changes: 1 addition & 1 deletion latex/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

# exit if a command fails
set -e
set -eo pipefail

# install full texlive distribution
apt-get update && apt-get install -y texlive-full
Expand Down
2 changes: 1 addition & 1 deletion mysql-backup-s3/backup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

set -e
set -eo pipefail

if [ "${S3_ACCESS_KEY_ID}" == "**None**" ]; then
echo "Warning: You did not set the S3_ACCESS_KEY_ID environment variable."
Expand Down
2 changes: 1 addition & 1 deletion mysql-backup-s3/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# exit if a command fails
set -e
set -eo pipefail

apk update

Expand Down
2 changes: 1 addition & 1 deletion mysql-backup-s3/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

set -e
set -eo pipefail

if [ "${S3_S3V4}" = "yes" ]; then
aws configure set default.s3.signature_version s3v4
Expand Down
2 changes: 1 addition & 1 deletion nodejs/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

# exit if a command fails
set -e
set -eo pipefail

# install node & npm
apt-get update && apt-get install -y nodejs npm
Expand Down
2 changes: 1 addition & 1 deletion octave/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

# exit if a command fails
set -e
set -eo pipefail

# install octave 3.6.2 (less needed as frontend)
apt-get update && apt-get install -y octave less
Expand Down
2 changes: 1 addition & 1 deletion postgres-backup-s3/backup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh

set -e
set -eo pipefail
set -o pipefail

if [ "${S3_ACCESS_KEY_ID}" = "**None**" ]; then
Expand Down
2 changes: 1 addition & 1 deletion postgres-backup-s3/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/sh

# exit if a command fails
set -e
set -eo pipefail


apk update
Expand Down
2 changes: 1 addition & 1 deletion postgres-backup-s3/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh

set -e
set -eo pipefail

if [ "${S3_S3V4}" = "yes" ]; then
aws configure set default.s3.signature_version s3v4
Expand Down
2 changes: 1 addition & 1 deletion postgres-restore-s3/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/sh

# exit if a command fails
set -e
set -eo pipefail

apk update

Expand Down
2 changes: 1 addition & 1 deletion postgres-restore-s3/restore.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh

set -e
set -eo pipefail
set -o pipefail

if [ "${S3_ACCESS_KEY_ID}" = "**None**" ]; then
Expand Down
2 changes: 1 addition & 1 deletion redis-commander/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

# exit if a command fails
set -e
set -eo pipefail

# install node & npm
apt-get update && apt-get install -y nodejs npm
Expand Down
2 changes: 1 addition & 1 deletion rust/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

# exit if a command fails
set -e
set -eo pipefail

# install curl (needed to install rust)
apt-get update && apt-get install -y curl gdb g++-multilib lib32stdc++6 libssl-dev libncurses5-dev
Expand Down
2 changes: 1 addition & 1 deletion s3cmd/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/sh

# exit if a command fails
set -e
set -eo pipefail

# install s3cmd
apk update
Expand Down
2 changes: 1 addition & 1 deletion s3cmd/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh

set -e
set -eo pipefail

echo "Running s3cmd ..."

Expand Down
2 changes: 1 addition & 1 deletion scala-sbt-docker/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

# exit if a command fails
set -e
set -eo pipefail

# install node & npm
apt-get update && apt-get install -y nodejs npm
Expand Down
2 changes: 1 addition & 1 deletion swagger-ui/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh

set -e
set -eo pipefail

replace_in_index () {
if [ "$1" != "**None**" ]; then
Expand Down

0 comments on commit b6cc872

Please sign in to comment.