Page 1 of 1

txz2xzm error

Posted: 28 Feb 2016, 03:49
by Rava
Hi,

tried to txz2xzm a txz, that is a python program called FSlint. ( http://www.pixelbeat.org/fslint/ http://pkgs.org/slackware-14.1/slackonl ... k.txz.html http://en.flossmanuals.net/FSlint/ )

This is from its install script that causes the error:

Code: Select all

( cd usr/man/man1 ; rm -rf fslint.1.gz )
( cd usr/man/man1 ; ln -sf /usr/man/man1/fslint-gui.1.gz fslint.1.gz )
Since txz2xzm removes the gz zipped man pages and replaces them with the non zipped manpages (here: /usr/man/man1/fslint.1 ) the above install part sure fails.
In the resulting Porteus module, the fslint.1 is fine, but the existing symlink named fslint-gui.1.gz points to the non existing fslint.1.gz

Is there a safe way to fix such Slackware install scripts?

Re: txz2xzm error

Posted: 28 Feb 2016, 18:24
by brokenman
I remember Ahau addressed this with his super txz2xzm. If you want to emend the code in txz2xzm I will be happy to include it.

Re: txz2xzm error

Posted: 29 Feb 2016, 03:44
by Ed_P
brokenman wrote:Ahau addressed this with his super txz2xzm.
For viewers looking for Ahau's script: viewtopic.php?f=53&t=957

Re: txz2xzm error

Posted: 29 Feb 2016, 10:46
by Rava
^
Wow, that is quite the complex script. Will take me a while to understand what it does...