I searched lots of scripting FAQs but didn't find a way to find the location of home dir. The problem is that when the postinst script runs, it runs as root and $HOME variable contains /root not /home. Should I just abandon that idea and post in documentation that my software needs manual configuration after install? Is it against Debian rules to ask the user to enter a directory path in the postinst script?
Bruno Barrera C. wrote: >On Mon, 2005-08-15 at 15:31 -0700, Stan Vasilyev wrote: > > >>Thank you for review. When you said "You ship some dirs into >>debian/dirs. Do you really think that all of >>them are necessary?" did you mean the it's unnecessary to create >>/home/auctiongallery directory? Because if I don't create the directory >>for the storage of pictures and descriptions it defeats the purpose of >>having multi-user features. >> >>Thanks, >>Stan >> >> > >I mean that you need to be careful with this and do some research, since >not all systems are using /home as partition for its users. > >Try to look in other packages who creates users to know how they handle >this issue. > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

