* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-db/firebird: ChangeLog firebird-2.0.3.12981.0-r2.ebuild
[not found] <E1IcE0D-0002Q8-FJ@stork.gentoo.org>
@ 2007-10-01 5:43 ` Donnie Berkholz
0 siblings, 0 replies; only message in thread
From: Donnie Berkholz @ 2007-10-01 5:43 UTC (permalink / raw
To: gentoo-dev, wltjr
On 05:39 Mon 01 Oct , William Thomson (wltjr) wrote:
> 1.1 dev-db/firebird/firebird-2.0.3.12981.0-r2.ebuild
>
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/firebird-2.0.3.12981.0-r2.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/firebird-2.0.3.12981.0-r2.ebuild?rev=1.1&content-type=text/plain
> pkg_postinst() {
> # Hack to fix ownership/perms
> chown -fR firebird:firebird ${ROOT}/etc/firebird ${ROOT}/usr/share/firebird
> chmod 750 ${ROOT}/etc/firebird
ROOT needs quotes..
> pkg_config() {
> # if found /etc/security.gdb from previous install, backup, and restore as
> # /etc/security2.fdb
> if [ -f /etc/firebird/security.gdb ]
> then
> # if we have scurity2.fdb already, back it 1st
> if [ -f /etc/firebird/security2.fdb ] ; then
> cp /etc/firebird/security2.fdb /etc/firebird/security2.fdb.old
> fi
> gbak -B /etc/firebird/security.gdb /etc/firebird/security.gbk
> gbak -R /etc/firebird/security.gbk /etc/firebird/security2.fdb
> mv /etc/firebird/security.gdb /etc/firebird/security.gdb.old
> rm /etc/firebird/security.gbk
Shouldn't this whole function also be ROOT-safe?
Thanks,
Donnie
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-01 5:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1IcE0D-0002Q8-FJ@stork.gentoo.org>
2007-10-01 5:43 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-db/firebird: ChangeLog firebird-2.0.3.12981.0-r2.ebuild Donnie Berkholz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox