update-passwd.in has hardcoded /sw

Remi Mommsen <[email protected]> Sun, 3 Nov 2013 12:47:55 +0000
Newsgroups gmane.os.apple.fink.core
Message-ID <[email protected]>
Hi,

my fink installation is in /opt/fink and not in /sw. While adding a new user, I found that update-passwd.in has a hardcoded /sw as PREFIX (line 33 in passwd-core-20130111-2/fink-passwd-d5077a2). This leads to errors like:

/opt/fink/bin/dpkg-lockwait -i /opt/fink/fink/dists/stable/main/binary-darwin-x86_64/base/passwd-postgres_20130111-2_darwin-x86_64.deb
(Reading database ... 135552 files and directories currently installed.)
Preparing to replace passwd-postgres 20130111-2 (using .../passwd-postgres_20130111-2_darwin-x86_64.deb) ...
Unpacking replacement passwd-postgres ...
Setting up passwd-postgres (20130111-2) ...
grep: /sw/etc/passwd.conf: No such file or directory
Looking for postgres entry in /sw/etc/passwd-fink...No entry for postgres in /sw/etc/passwd-fink
Enter a value manually.
Enter a value for the UID:


Cheers,
Remi

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk

_______________________________________________
fink-core mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.core
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-core
smime.p7s (application/pkcs7-signature, 2.7 KB) - not displayed