X-Git-Url: https://git.mxchange.org/?p=quix0rs-apt-p2p.git;a=blobdiff_plain;f=debian%2Fpostrm;h=c2ea95746da5940adfd1d61458b5b3f60e0f85e4;hp=b604ced74f69d09abe3a3c155ecbb94d267909c4;hb=a153258a1767a9240a2828df9ec5cdc566acdb20;hpb=f47aeeba7f705a40bbfe947f5eb374018f57ab37 diff --git a/debian/postrm b/debian/postrm index b604ced..c2ea957 100644 --- a/debian/postrm +++ b/debian/postrm @@ -17,6 +17,11 @@ set -e # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + if test "$1" = "purge"; then # Remove the logs rm -rf /var/log/apt-p2p.log* @@ -24,14 +29,9 @@ if test "$1" = "purge"; then echo Purging apt-p2p cache directory rm -rf /var/cache/apt-p2p - if id aptp2p >/dev/null; then - deluser aptp2p + if id apt-p2p >/dev/null; then + deluser apt-p2p fi fi -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - exit 0