2 Commits

Author SHA1 Message Date
Gustavo Adolfo Mesa Roldán 0be7239088 0.5r2 - Exit 0 2020-09-30 19:59:07 +02:00
radikal a460d09a15 rar arch installation fixed 2020-09-30 16:15:55 +02:00
5 changed files with 3 additions and 9 deletions
+2 -4
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VERSION=0.5r1 VERSION=0.5r2
DEST=$1 DEST=$1
shift 1 shift 1
ORIG=$@ ORIG=$@
@@ -21,15 +21,12 @@ else
case $DEST in case $DEST in
"--help" | "-h") "--help" | "-h")
help help
exit 0
;; ;;
"--check" | "-c") "--check" | "-c")
check check
exit 0
;; ;;
"--install" | "-i") "--install" | "-i")
install $DEST $@ install $DEST $@
exit 0
;; ;;
*) *)
if [ -z "$DEST" ] if [ -z "$DEST" ]
@@ -50,4 +47,5 @@ else
fi fi
;; ;;
esac esac
exit 0
fi fi
-1
View File
@@ -37,5 +37,4 @@ function compressor()
esac esac
echo -e "\nDone" echo -e "\nDone"
exit 0
} }
-1
View File
@@ -37,5 +37,4 @@ function decompressor()
esac esac
echo -e "\nDone" echo -e "\nDone"
exit 0
} }
+1 -2
View File
@@ -3,7 +3,7 @@
function rarInstall(){ function rarInstall(){
if [ -e "$(command -v wget)" ] if [ -e "$(command -v wget)" ]
then then
if [[ $(uname -m) -eq "x86_64" ]] if [[ "$(uname -m)" == "x86_64" ]]
then then
RAR_URL="https://www.rarlab.com/rar/rarlinux-x64-5.9.1.tar.gz" RAR_URL="https://www.rarlab.com/rar/rarlinux-x64-5.9.1.tar.gz"
RAR_FILE="rarlinux-x64-5.9.1.tar.gz" RAR_FILE="rarlinux-x64-5.9.1.tar.gz"
@@ -82,5 +82,4 @@ function install()
fi fi
echo -e "\nDependencies installation finished\n" echo -e "\nDependencies installation finished\n"
exit 0
} }
-1
View File
@@ -45,7 +45,6 @@ function check()
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: tar, bzip2, gzip, zip, unzip, 7za, rar, unrar"
fi fi
echo "" echo ""
exit 0
} }
function lowercase() function lowercase()