0.5r5 - vmdk run

This commit is contained in:
Gustavo Adolfo Mesa Roldán
2020-10-03 05:05:40 +02:00
parent b10ba9ffee
commit b8cb0defe8
4 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -55,11 +55,11 @@ $ lch -i - Install the compressors dependencies
- lzma - lzma
- rpm - rpm
- SquashFS - SquashFS
- vmdk
###### Unpacking only (beta): ###### Unpacking only (beta):
- cdi - cdi
- chd - chd
- vmdk
- win - win
- xar - xar
- z - z
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VERSION=0.5r4 VERSION=0.5r5
DEST=$1 DEST=$1
shift 1 shift 1
ORIG=$@ ORIG=$@
+2 -2
View File
@@ -14,10 +14,10 @@ extension.
7z, bz2, gz, rar, tar, tar.bz2, tar.gz, tar.xz, tgz, zip 7z, bz2, gz, rar, tar, tar.bz2, tar.gz, tar.xz, tgz, zip
Unpacking only supported extensions: 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: Unpacking only in beta extensions:
cdi, chd, vmdk, win, xar, z cdi, chd, win, xar, z
.SH OPTIONS .SH OPTIONS
.TP .TP
+6 -5
View File
@@ -20,10 +20,10 @@ function help()
echo " 7z, bz2, gz, rar, tar, tar.bz2, tar.gz, tar.xz, tgz, zip" echo " 7z, bz2, gz, rar, tar, tar.bz2, tar.gz, tar.xz, tgz, zip"
echo "" echo ""
echo "Unpacking only supported extensions:" 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 ""
echo "Unpacking only in beta extensions:" echo "Unpacking only in beta extensions:"
echo " cdi, chd, vmdk, win, xar, z" echo " cdi, chd, win, xar, z"
echo "" echo ""
echo "Run 'man lch' for more info." echo "Run 'man lch' for more info."
echo "" echo ""
@@ -35,12 +35,12 @@ function check()
echo -e "Verification of compression systems:\n" echo -e "Verification of compression systems:\n"
echo -e "Systems\t\t\tStatus" echo -e "Systems\t\t\tStatus"
echo "----------------------------------" echo "----------------------------------"
for i in "rar" "unrar" "tar" "bzip2" "gzip" "zip" "unzip" "7za" for i in "7z" "bzip2" "gzip" "rar" "tar" "unrar" "unzip" "zip"
do do
if ! [ -x "$(command -v $i)" ] if ! [ -x "$(command -v $i)" ]
then then
echo -e "$i\t\t\t\e[91mNot Installed\e[0m" echo -e "$i\t\t\t\e[91mNot Installed\e[0m"
$a = true a=true
else else
echo -e "$i\t\t\t\e[32mInstalled\e[0m" echo -e "$i\t\t\t\e[32mInstalled\e[0m"
fi fi
@@ -48,7 +48,8 @@ function check()
if $a if $a
then 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 fi
echo "" echo ""
} }