Hello, my package provide in fact the creation of a user called tango (system) 
used by a few other packages (tango-db, tango-starter, tango-accesscontrol, 
daemons)
I inspired myself of mysql-server to create the tango users.

I decided to create the home of the tango user under /var/lib/tango

with preinst

DATADIR=/var/lib/tango

        adduser \
          --system \
          --ingroup tango \
          --home $DATADIR \
          --gecos "Tango Server" \
          --shell /bin/false \
          tango  >/dev/null

so in your opinion which snipset should I add to the postrm

if [ "$1" = "purge" ]; then
  rm -rf /var/lib/tango
fi

???

or using deluser ?

thanks for your help

Frederic



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to