X-Git-Url: https://git.mxchange.org/?p=quix0rs-apt-p2p.git;a=blobdiff_plain;f=debian%2Fpostinst;h=24147f26f0839f87f74aa23642a9b5ec002c2033;hp=eb87fd291545b97e6c2cffbaf58a73c452f98869;hb=19dab12a49b05e17b3fc9e6fc246c31f157b4f48;hpb=c1a8891e0bfb81e9fc64d271f8e4de059c699921 diff --git a/debian/postinst b/debian/postinst index eb87fd2..24147f2 100644 --- a/debian/postinst +++ b/debian/postinst @@ -25,17 +25,17 @@ set -e case "$1" in configure) - if ! getent passwd aptp2p >/dev/null; then + if ! getent passwd apt-p2p >/dev/null; then adduser --quiet --system --no-create-home \ --home /var/cache/apt-p2p --disabled-password \ --disabled-login --shell /bin/false --ingroup nogroup \ - aptp2p + apt-p2p fi touch /var/log/apt-p2p.log - chown aptp2p:adm /var/log/apt-p2p.log + chown apt-p2p:adm /var/log/apt-p2p.log mkdir -p /var/cache/apt-p2p - chown -R aptp2p:adm /var/cache/apt-p2p + chown -R apt-p2p:adm /var/cache/apt-p2p ;; abort-upgrade|abort-remove|abort-deconfigure)