Running get-LibreOffice lead /usr/bin/libreoffice3.6 to be a broken link to /opt/libreoffice3.6/program/soffice, so the program looks installed but does not start .
root@slitaz:/home/tux6 ls -la /usr/bin/libreoffice3.6
lrwxrwxrwx 1 root root 35 Jan 5 22:49 /usr/bin/libreoffice3.6 -> /opt/libreoffice3.6/program/soffice
The trouble is in the bin variable definition at line 167: bin=$(ls $PACKAGE-$VERSION/fs/usr/bin/libreoffice???)
I don't know the reason why but the ls command does not seems to catch libreoffice3.6 when running inside the script while it works well from sakura.
Extracting files (this may take a while): (found v3.6.4.3) [ OK ]
............................................................ [ OK ]
Preparing package... ls: LibreOffice-3.6.4/fs/usr/bin/libreoffice3.6: No such file or directory
Command line: readlink
BusyBox v1.20.2 (2012-12-21 21:52:58 CET) multi-call binary.
Usage: readlink [-fnv] FILE
Display the value of a symlink
-f Canonicalize by following all symlinks
-n Don't add newline
-v Verbose
Command line: ln -s
BusyBox v1.20.2 (2012-12-21 21:52:58 CET) multi-call binary.
Usage: ln [OPTIONS] TARGET... LINK|DIR
Create a link LINK or DIR/TARGET to the specified TARGET(s)
-s Make symlinks instead of hardlinks
-f Remove existing destinations
-n Don't dereference symlinks - treat like normal file
-b Make a backup of the target (if exists) before link operation
-S suf Use suffix instead of ~ when making backup files
[ OK ]
I brutally fixed it changing the row with
bin=$(ls $PACKAGE-$VERSION/fs/usr/bin/*printeradmin | sed 's/-printeradmin//')
also seems that tazpkg remove LibreOffice
leave /usr/lib/libreoffice/libreoffice3.6
Installation of: LibreOffice
=====================================================================================================================================================================================================================
Copying LibreOffice... [ Done ]
Extracting LibreOffice... [ Done ]
Extracting the pseudo fs... [ Done ]
Installing LibreOffice... [ Done ]
Removing all tmp files... [ Done ]
ln: /usr/lib/libreoffice/libreoffice3.6: File exists
=====================================================================================================================================================================================================================
LibreOffice (3.6.4) is installed.