William L. Thomson Jr. wrote:
> On Sat, 2007-09-22 at 10:29 +0200, Torsten Veller wrote:
>>> pkg_postinst() {
>>>     # Hack to fix ownership/perms
>>>     chown -fR firebird:firebird /etc/firebird /usr/share/firebird
>>>     chmod 750 /etc/firebird
>>>
>> ROOT!=/ ?
>>
>>> pkg_config() {
>>>     cd /usr/share/firebird
>> same
> 
> What should I be using instead? I see what your talking about wrt to
> chroots and etc. Not even sure that's relevant or needed anymore. Was to
> correct some past issues and hopefully can be removed ASAP.

Just replace the root / with ${ROOT}.  ie:

 pkg_postinst() {
        # Hack to fix ownership/perms
        chown -fR firebird:firebird "${ROOT}"etc/firebird 
"${ROOT}"usr/share/firebird
        chmod 750 "${ROOT}"etc/firebird

 pkg_config() {
        cd "${ROOT}"usr/share/firebird



-- 
                  fonts / wxWindows / gcc-porting / treecleaners
  9B81 6C9F E791 83BB 3AB3  5B2D E625 A073 8379 37E8 (0x837937E8)

-- 
[EMAIL PROTECTED] mailing list

Reply via email to