summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-09-25 11:39:16 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-09-25 11:39:16 +0200
commitb98232208f580e7b2677af87fb22d21f61a0509a (patch)
treec25ecf6df6e8730862be618c0400badcaa3d1512 /debian
parent47d278dc7184606f751d015689e0c49eccde4547 (diff)
Use /var/empty as the homedir for _apt
Thanks to Axel Beckert
Diffstat (limited to 'debian')
-rw-r--r--debian/apt.postinst4
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