Hi,

* Joost van Baal [Sat, Jun 25, 2005 at 08:03:44PM +0200]:
> postinst:
> 
>  if there is a user "systraq"
>    warn "i will not reuse the user systraq"
>    warn "make sure you have a /etc/cron.d/systraq file from systraq >= 
> version"
>  fi
> 
>  if there is no user "debian-systraq"
>    create user "debian-systraq"

     and chown all files in /var/lib/systraq to debian-systraq.

>  fi
>
> postrm:
> 
>  if there is a user "systraq"
>    warn "i will not remove user systraq"
>  fi
> 
>  if there is a user "debian-systraq"
>   delete user "debian-systraq"

    and all of its files, of course.

>  fi
> 
> Dealing with /etc/cron.d/systraq , which uses the systraq account name,
> could also be handled by verifying whether the systrem is being upgraded
> from a "systraq"-account-name systraq package.
> 
> Would that be feasable?  Or too error-prone?

Sounds good.

Attachment: signature.asc
Description: Digital signature

Reply via email to