]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - debian/postrm
Switch the user name on startup.
[quix0rs-apt-p2p.git] / debian / postrm
index b604ced74f69d09abe3a3c155ecbb94d267909c4..fa48524ea87df8c5cdb1d3e9a543826573024c17 100644 (file)
@@ -24,8 +24,8 @@ 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