|
From: | Sebastian Hilbert |
Subject: | Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release |
Date: | Fri, 8 Apr 2011 14:12:10 +0200 |
User-agent: | KMail/1.13.6 (Linux/2.6.37.3-16-desktop; KDE/4.6.0; i686; ; ) |
Am Freitag, 8. April 2011, 13:06:15 schrieb Karsten Hilbert: > I have now (for 0.9.2) changed the relevant files to only > use "su -c" when not on MacOSX or else not fail > unconditionally. > > That should make bootstrapping work again on MacOSX. > > Karsten While this should work it simply removes the feature :-) I did some tests. On Mac 10.4 the line works same as in Linux. However you need to reorder it. instead of su -c "psql foo" -l postgres like in Linux one needs su -l postgres -c "psql foo" In my case psql is not in the path so giving just psql won't work either. I have yet to find a way to restore the feature by maybe using sudo since Apple in all its wisdom decided be there no more '-c' for su. Sebastian
[Prev in Thread] | Current Thread | [Next in Thread] |