[Slackbuilds-users] [libreoffice] The lack of symlinks loxxx prevent opening of documents with Xfe

Willy Sudiarto Raharjo willysr at slackbuilds.org
Sat Jan 6 16:21:30 UTC 2018


> That's because you put the commands 'ln ...' after the command 'cd -' :
> 
> $ grep -A 7 -B 10 Xfe libreoffice.SlackBuild
> 
> # Create symlinks in /usr/bin to actual binaries
> cd $PKG/usr/bin
>   for FILE in \
>     sbase scalc sdraw simpress smath soffice swriter unopkg ; do
>       rm -f $FILE
>       ln -sf ../../opt/libreoffice$SRCSHORT/program/$FILE $FILE ;
>   done
> *cd -* # <=== Error: This should be run after the ln commands below
> 
> # The symlinks below are required to (directly) open documents
> # supported by libreoffice with Xfe file manager.
> ln -sf ../../opt/libreoffice$SRCSHORT/program/sbase    lobase
> ln -sf ../../opt/libreoffice$SRCSHORT/program/scalc    localc
> ln -sf ../../opt/libreoffice$SRCSHORT/program/sdraw    lodraw
> ln -sf ../../opt/libreoffice$SRCSHORT/program/simpress loimpress
> ln -sf ../../opt/libreoffice$SRCSHORT/program/smath    lomath
> ln -sf ../../opt/libreoffice$SRCSHORT/program/swriter  lowriter

Hi  SeB

thanks for noticing
i have applied the fix on my branch


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180106/44fd86f9/attachment.asc>


More information about the SlackBuilds-users mailing list