Browse Source

0.5r5 - vmdk run

pull/8/head
Gustavo Adolfo Mesa Roldán 3 years ago
parent
commit
b8cb0defe8
4 changed files with 10 additions and 9 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      lch
  3. +2
    -2
      lch.1
  4. +6
    -5
      lib/resources.sh

+ 1
- 1
README.md View File

@ -55,11 +55,11 @@ $ lch -i - Install the compressors dependencies
- lzma
- rpm
- SquashFS
- vmdk
###### Unpacking only (beta):
- cdi
- chd
- vmdk
- win
- xar
- z


+ 1
- 1
lch View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
VERSION=0.5r4
VERSION=0.5r5
DEST=$1
shift 1
ORIG=$@


+ 2
- 2
lch.1 View File

@ -14,10 +14,10 @@ extension.
7z, bz2, gz, rar, tar, tar.bz2, tar.gz, tar.xz, tgz, zip
Unpacking only supported extensions:
arj, cab, dmg, iso, lzh, lzma, rpm, SquashFS
arj, cab, dmg, iso, lzh, lzma, rpm, SquashFS, vmdk
Unpacking only in beta extensions:
cdi, chd, vmdk, win, xar, z
cdi, chd, win, xar, z
.SH OPTIONS
.TP


+ 6
- 5
lib/resources.sh View File

@ -20,10 +20,10 @@ function help()
echo " 7z, bz2, gz, rar, tar, tar.bz2, tar.gz, tar.xz, tgz, zip"
echo ""
echo "Unpacking only supported extensions:"
echo " arj, cab, dmg, iso, lzh, lzma, rpm, SquashFS"
echo " arj, cab, dmg, iso, lzh, lzma, rpm, SquashFS, vmdk"
echo ""
echo "Unpacking only in beta extensions:"
echo " cdi, chd, vmdk, win, xar, z"
echo " cdi, chd, win, xar, z"
echo ""
echo "Run 'man lch' for more info."
echo ""
@ -35,12 +35,12 @@ function check()
echo -e "Verification of compression systems:\n"
echo -e "Systems\t\t\tStatus"
echo "----------------------------------"
for i in "rar" "unrar" "tar" "bzip2" "gzip" "zip" "unzip" "7za"
for i in "7z" "bzip2" "gzip" "rar" "tar" "unrar" "unzip" "zip"
do
if ! [ -x "$(command -v $i)" ]
then
echo -e "$i\t\t\t\e[91mNot Installed\e[0m"
$a = true
a=true
else
echo -e "$i\t\t\t\e[32mInstalled\e[0m"
fi
@ -48,7 +48,8 @@ function check()
if $a
then
echo -e "\nIn order to use all the extensions install the packages: tar, bzip2, gzip, zip, unzip, 7za, rar, unrar"
echo -e "\nIn order to use all the extensions install the packages."
echo -e "Or use 'lch -i' to install all dependences"
fi
echo ""
}


Loading…
Cancel
Save