Shell script that converts Debian packages to Slackware packages.
It added support to other formats to the shell script deb2tgz that exists in https://code.google.com/archive/p/deb2tgz/
As suggested by @sevens sevens repo in commits sevens@9a99096 and sevens@9829fbf code based on his suggestions were added.
Check issue 1
Test issue 1
- Download http://security.ubuntu.com/ubuntu/pool/main/l/less/less_590-1ubuntu0.22.04.1_amd64.deb
- run
./deb2tgz less_590-1ubuntu0.22.04.1_amd64.deb
- Check txz contents
tar tvJf less_590-1ubuntu0.22.04.1_amd64.txz
Test deb file with xz in it
- Download http://mirrors.kernel.org/ubuntu/pool/main/l/less/less_487-0.1_amd64.deb
- run
./deb2tgz less_487-0.1_amd64.deb
- Check txz contents
tar tvJf less_487-0.1_amd64.txz