Hi, I am working on an updated package. I hope I can upload it today. Thanks for the patch.
Christoph Am 22.09.2012 01:26, schrieb Andrew Starr-Bochicchio: > Hi all, > > The attached debdiff fixes both postinst scripts so that they no > longer create a system user in /home on install. It also moves the > netdisco home directory to /var/lib/netdisco on upgrade. It will > delete the old directory if it is empty. If not, it simply notifies > the user as you suggest in your last comment on this bug. Here's the > upgrade part: > > # Migrate home directory on upgrade from 1.0-1 > if [ ! "$2" = "" ] && dpkg --compare-versions "$2" le 1.0-1; then > echo "Moving system user netdisco's home directory to > /var/lib/netdisco" > if [ -d /home/netdisco ] && ! rmdir /home/netdisco; then > echo "Directory /home/netdisco is not empty. Not removing." > fi > usermod --home /var/lib/netdisco netdisco > fi > > Let me know what you think. As this is an RC bug, if I don't hear any > response in a few days I will seek a sponsor for a NMU. > > Thanks! > > - Andrew Starr-Bochicchio > > -- ============================================================================ Christoph Martin, Zentrum für Datenverarbeitung, Uni-Mainz, Germany Instant-Messaging: Jabber: mar...@uni-mainz.de (Siehe http://www.zdv.uni-mainz.de/4010.php)
<<attachment: martin.vcf>>
signature.asc
Description: OpenPGP digital signature