diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-09-25 11:39:16 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-09-25 11:39:16 +0200 |
commit | b98232208f580e7b2677af87fb22d21f61a0509a (patch) | |
tree | c25ecf6df6e8730862be618c0400badcaa3d1512 | |
parent | 47d278dc7184606f751d015689e0c49eccde4547 (diff) |
Use /var/empty as the homedir for _apt
Thanks to Axel Beckert
-rw-r--r-- | debian/apt.postinst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/apt.postinst b/debian/apt.postinst index fab026504..a538abde9 100644 --- a/debian/apt.postinst +++ b/debian/apt.postinst @@ -27,8 +27,8 @@ case "$1" in fi # add unprivileged user for the apt methods - adduser --force-badname --system --no-create-home \ - --quiet _apt || true + adduser --force-badname --system -home /var/empty \ + --no-create-home --quiet _apt || true chown -R _apt:root \ /var/lib/apt/lists \ /var/cache/apt/archives |