To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62884
                  Issue #:|62884
                  Summary:|Bash specific rpm scriptlet
                Component:|tools
                  Version:|OOo 2.0.2
                 Platform:|All
                      URL:|
               OS/Version:|Linux
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|mh
              Reported by:|gkocur





------- Additional comments from [EMAIL PROTECTED] Tue Mar  7 09:46:49 -0800 
2006 -------
In file sysui/desktop/share/symlink_triggers i found:
[cut]

# create / update the link in /etc
TARGET=\`rpm -q --qf '%{INSTALLPREFIX}' openoffice.ux.pl-core01 2>/dev/null\`
[ "\${TARGET:0:1}" == "/" ] && ln -snf \$TARGET /etc/%unixfilename

# update desktop database (if any)
if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q /usr/share/applications
fi
rm -f /tmp/install.$$
EOF

  /bin/sh /tmp/install.$$ &
fi
exit 0


But construction ${TARGET:0:1} is bash specific, so

/bin/sh /tmp/install.$$ &

should be replaced with

/bin/bash /tmp/install.$$ &

This is used in this file twice (install and uninstall).

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to