diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-11-15 11:49:52 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-11-15 11:49:52 +0000 |
commit | 9341668729319a00b434ec89db1fa7c63a6b8b25 (patch) | |
tree | 1f6ff808f02a4750e108b7ef793fdc8ee335ea5d | |
parent | cb9497be67a7fecefc7aca0de7b59a95dfaf558f (diff) | |
download | jenkinstool-9341668729319a00b434ec89db1fa7c63a6b8b25.tar.gz |
Put dpkg.cfg in the right directory
-rwxr-xr-x | vm-data/worker.customize | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vm-data/worker.customize b/vm-data/worker.customize index a311129..70cbe10 100755 --- a/vm-data/worker.customize +++ b/vm-data/worker.customize @@ -25,7 +25,8 @@ rootdir="$1" # Configure dpkg to prefer the old version of a conffile, so upgrades # (especially of sid) will work without prompting. -cat <<EOF > "$rootdir/etc/dpkg.cfg" +mkdir "$rootdir/etc/dpkg" +cat <<EOF > "$rootdir/etc/dpkg/dpkg.cfg" force-confold EOF |