ALT Linux Bugzilla
– Attachment 1168 Details for
Bug 8158
Wrong coordination with alternatives leads to non-working install
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Fix soffice.sh to work with alternatives
soffice.sh.patch (text/plain), 570 bytes, created by
Alexander Bokovoy
on 2005-10-07 17:43:16 MSD
(
hide
)
Description:
Fix soffice.sh to work with alternatives
Filename:
MIME Type:
Creator:
Alexander Bokovoy
Created:
2005-10-07 17:43:16 MSD
Size:
570 bytes
patch
obsolete
>--- soffice.sh~ 2005-10-07 09:42:01 -0400 >+++ soffice.sh 2005-10-07 09:42:10 -0400 >@@ -53,19 +53,13 @@ > > # resolve installation directory > sd_cwd="`pwd`" >-if [ -h "$0" ] ; then >- sd_basename=`basename "$0"` >- sd_script=`ls -l "$0" | sed "s/.*${sd_basename} -> //g"` >- cd "`dirname "$0"`" >- cd "`dirname "$sd_script"`" >-else >- cd "`dirname "$0"`" >-fi >+sd_fullpath=`realpath "$0"` >+cd "`dirname "$sd_fullpath"`" > > sd_prog="`pwd`" > > cd .. >-sd_binary=`basename "$0"`".bin" >+sd_binary=`basename "$sd_fullpath"`".bin" > sd_inst="`pwd`" > > # change back directory
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 8158
: 1168