mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
add pipefails
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
0a1485f754
commit
329b27eeeb
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
[ "$DEBUG" == 'true' ] && set -x
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
GRSEC_VERSION=3.1-4.4.5-201603142220
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
# add the correct user perms
|
||||
gpasswd -a root libvirt
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# This script gets the latest GitHub releases for the specified projects.
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
if [[ -z "$GITHUB_TOKEN" ]]; then
|
||||
echo "Set the GITHUB_TOKEN env variable."
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
mkdir -p /var/lib/mpd/{playlists,music} \
|
||||
&& touch /var/lib/mpd/{state,tag_cache} \
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
: LDAP_ROOTPASS=${LDAP_ROOTPASS}
|
||||
: LDAP_DOMAIN=${LDAP_DOMAIN}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
if [ -z ${NEWUSER+x} ]; then
|
||||
echo 'WARN: No user was defined, defaulting to root.'
|
||||
echo 'WARN: Sublime will save files as root:root.'
|
||||
|
|
1
test.sh
1
test.sh
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
# this is kind of an expensive check, so let's not do this twice if we
|
||||
# are running more than one validate bundlescript
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
su user -c /usr/bin/editor
|
||||
VSCODE_COMMAND=/usr/bin/code
|
||||
if [[ ! -f "${VSCODE_COMMAND}" ]]; then
|
||||
>&2 echo "${VSCODE_COMMAND} does not exist"
|
||||
exit 1
|
||||
fi
|
||||
su user -c "${VSCODE_COMMAND}"
|
||||
sleep infinity
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
init(){
|
||||
local pcscd_running=$(ps -aux | grep [p]cscd)
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
init(){
|
||||
local pcscd_running=$(ps -aux | grep [p]cscd)
|
||||
|
|
Loading…
Reference in New Issue
Block a user