Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0be7239088 | |||
| a460d09a15 |
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
VERSION=0.5r1
|
||||
VERSION=0.5r2
|
||||
DEST=$1
|
||||
shift 1
|
||||
ORIG=$@
|
||||
@@ -21,15 +21,12 @@ else
|
||||
case $DEST in
|
||||
"--help" | "-h")
|
||||
help
|
||||
exit 0
|
||||
;;
|
||||
"--check" | "-c")
|
||||
check
|
||||
exit 0
|
||||
;;
|
||||
"--install" | "-i")
|
||||
install $DEST $@
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
if [ -z "$DEST" ]
|
||||
@@ -50,4 +47,5 @@ else
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
fi
|
||||
@@ -37,5 +37,4 @@ function compressor()
|
||||
esac
|
||||
|
||||
echo -e "\nDone"
|
||||
exit 0
|
||||
}
|
||||
|
||||
@@ -37,5 +37,4 @@ function decompressor()
|
||||
esac
|
||||
|
||||
echo -e "\nDone"
|
||||
exit 0
|
||||
}
|
||||
+1
-2
@@ -3,7 +3,7 @@
|
||||
function rarInstall(){
|
||||
if [ -e "$(command -v wget)" ]
|
||||
then
|
||||
if [[ $(uname -m) -eq "x86_64" ]]
|
||||
if [[ "$(uname -m)" == "x86_64" ]]
|
||||
then
|
||||
RAR_URL="https://www.rarlab.com/rar/rarlinux-x64-5.9.1.tar.gz"
|
||||
RAR_FILE="rarlinux-x64-5.9.1.tar.gz"
|
||||
@@ -82,5 +82,4 @@ function install()
|
||||
fi
|
||||
|
||||
echo -e "\nDependencies installation finished\n"
|
||||
exit 0
|
||||
}
|
||||
@@ -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"
|
||||
fi
|
||||
echo ""
|
||||
exit 0
|
||||
}
|
||||
|
||||
function lowercase()
|
||||
|
||||
Reference in New Issue
Block a user