summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-10-07 20:52:52 +0300
committerLars Wirzenius <liw@liw.fi>2014-10-07 20:52:52 +0300
commit32b0afc41d36abe1ee0944b167a293cd05ee9499 (patch)
tree4a5a25416861583f6a2f3b61cdfa8c7ed1c98924
parent69e9e9d68cec32f81da18f484be978b308c7cf52 (diff)
downloadjenkinstool-32b0afc41d36abe1ee0944b167a293cd05ee9499.tar.gz
Fix creation of dir; add to, don't replace dpkg.cfg
-rwxr-xr-xvm-data/worker.customize4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm-data/worker.customize b/vm-data/worker.customize
index 70cbe10..cf81daa 100755
--- a/vm-data/worker.customize
+++ b/vm-data/worker.customize
@@ -25,8 +25,8 @@ rootdir="$1"
# Configure dpkg to prefer the old version of a conffile, so upgrades
# (especially of sid) will work without prompting.
-mkdir "$rootdir/etc/dpkg"
-cat <<EOF > "$rootdir/etc/dpkg/dpkg.cfg"
+mkdir -p "$rootdir/etc/dpkg"
+cat <<EOF >> "$rootdir/etc/dpkg/dpkg.cfg"
force-confold
EOF