From 7defe8f4add24f2f24f846c55a87906a42551922 Mon Sep 17 00:00:00 2001 From: ale Date: Sun, 27 Sep 2020 18:06:33 +0200 Subject: [PATCH] reload sources and testing readme --- README.md | 6 ++++++ TODO | 2 ++ lch | 8 ++++---- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b83214b..3915593 100644 --- a/README.md +++ b/README.md @@ -26,3 +26,9 @@ $ lch file.zip ``` sudo ./install.sh ``` + +## Testing with docker +``` +$ git clone https://gitea.hatthieves.es/cloud/lch +$ cd lch && docker run -it --rm --name lch --workdir /lch -v $(pwd):/lch putyourdistributionhere ./lch -h +``` \ No newline at end of file diff --git a/TODO b/TODO index 22abeb1..e3a8cfa 100644 --- a/TODO +++ b/TODO @@ -15,3 +15,5 @@ - ¿Ficheros que soporta? AR, ARJ, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS, IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RAR, RPM, SquashFS, UDF, UEFI, VDI, VHD, VMDK, WIM, XAR and Z. + +# Hacer desinstalador \ No newline at end of file diff --git a/lch b/lch index 439ed04..97aea9a 100755 --- a/lch +++ b/lch @@ -1,12 +1,12 @@ #!/bin/bash -VERSION=0.3r2 +VERSION=0.3r3 DEST=$1 shift 1 ORIG=$@ -source /usr/lib/lch/compressor.sh || source ./lib/compressor.sh -source /usr/lib/lch/decompressor.sh || source ./lib/decompressor.sh -source /usr/lib/lch/check.sh || source ./lib/check.sh +if [ -z /usr/lib/lch/compressor.sh ]; then . /usr/lib/lch/compressor.sh; else . ./lib/compressor.sh; fi +if [ -z /usr/lib/lch/decompressor.sh ]; then . /usr/lib/lch/decompressor.sh; else . ./lib/decompressor.sh; fi +if [ -z /usr/lib/lch/check.sh ]; then . /usr/lib/lch/check.sh; else . ./lib/check.sh; fi function help() {