diff options
Diffstat (limited to '.github/prepare_debian.sh')
-rwxr-xr-x | .github/prepare_debian.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh index 3f4674a2..c79211cd 100755 --- a/.github/prepare_debian.sh +++ b/.github/prepare_debian.sh | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | set -x | 3 | set -x |
4 | set -e | 4 | set -euo pipefail |
5 | 5 | ||
6 | export DEBIAN_FRONTEND=noninteractive | 6 | export DEBIAN_FRONTEND=noninteractive |
7 | 7 | ||
@@ -61,7 +61,8 @@ apt-get -y install perl \ | |||
61 | libmariadb-dev \ | 61 | libmariadb-dev \ |
62 | cron \ | 62 | cron \ |
63 | iputils-ping \ | 63 | iputils-ping \ |
64 | iproute2 | 64 | iproute2 \ |
65 | libjson-perl | ||
65 | 66 | ||
66 | # remove ipv6 interface from hosts | 67 | # remove ipv6 interface from hosts |
67 | sed '/^::1/d' /etc/hosts > /tmp/hosts | 68 | sed '/^::1/d' /etc/hosts > /tmp/hosts |
@@ -127,5 +128,5 @@ sed "/NP_HOST_TLS_CERT/s/.*/'NP_HOST_TLS_CERT' => '$(hostname)',/" -i /src/.gith | |||
127 | 128 | ||
128 | # create some test files to lower inodes | 129 | # create some test files to lower inodes |
129 | for i in $(seq 10); do | 130 | for i in $(seq 10); do |
130 | touch /media/ramdisk2/test.$1 | 131 | touch /media/ramdisk2/test.$i |
131 | done | 132 | done |