diff --git a/README.md b/README.md index ae3b5b1..2faee65 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,12 @@ ###### install ``` -sudo ./install.sh +sudo ./bin/install.sh ``` ###### Uninstall ``` -sudo ./uninstall.sh +sudo ./bin/uninstall.sh ``` ## Usage diff --git a/install.sh b/bin/install.sh similarity index 97% rename from install.sh rename to bin/install.sh index 28ac8f5..bc9716e 100755 --- a/install.sh +++ b/bin/install.sh @@ -13,7 +13,7 @@ echo "======================" echo "" cp lch /usr/bin/lch mkdir -p /usr/lib/lch -cp ./lib/* /usr/lib/lch +cp -r ./lib/* /usr/lib/lch chmod 755 /usr/bin/lch echo " Copied lch in /usr/bin" diff --git a/uninstall.sh b/bin/uninstall.sh similarity index 100% rename from uninstall.sh rename to bin/uninstall.sh diff --git a/lch b/lch index 0067165..a79c250 100755 --- a/lch +++ b/lch @@ -1,5 +1,5 @@ #!/usr/bin/env bash -VERSION=0.6r8 +VERSION=0.6r9 DEST=$1 shift 1 ORIG=$@ diff --git a/lib/installers/deb.sh b/lib/installers/deb.sh index 3e9b16c..05b4021 100644 --- a/lib/installers/deb.sh +++ b/lib/installers/deb.sh @@ -37,7 +37,7 @@ if [ $# -eq 1 ]; then else for i in $@ do - if [ $i -ne "-i" ] + if [ $i != "-i" ] then case $i in "rar" | "unrar") diff --git a/lib/installers/pacman.sh b/lib/installers/pacman.sh index 8154713..078607d 100644 --- a/lib/installers/pacman.sh +++ b/lib/installers/pacman.sh @@ -35,7 +35,7 @@ if [ $# -eq 1 ]; then else for i in $@ do - if [ $i -ne "-i" ] + if [ $i != "-i" ] then case $i in "rar" | "unrar") diff --git a/lib/installers/rpm.sh b/lib/installers/rpm.sh index 2eb2fbc..c568277 100644 --- a/lib/installers/rpm.sh +++ b/lib/installers/rpm.sh @@ -49,7 +49,7 @@ if [ $# -eq 1 ]; then else for i in $@ do - if [ $i -ne "-i" ] + if [ $i != "-i" ] then case $i in "rar" | "unrar") diff --git a/lib/installers/zypper.sh b/lib/installers/zypper.sh index e3dcfae..8ae5970 100644 --- a/lib/installers/zypper.sh +++ b/lib/installers/zypper.sh @@ -36,7 +36,7 @@ if [ $# -eq 1 ]; then else for i in $@ do - if [ $i -ne "-i" ] + if [ $i != "-i" ] then case $i in "rar" | "unrar") diff --git a/lch.1 b/man/lch.1 similarity index 84% rename from lch.1 rename to man/lch.1 index 9051994..3a07529 100644 --- a/lch.1 +++ b/man/lch.1 @@ -45,6 +45,6 @@ will compress file1 and file2 in file.tar.gz Report your bugs at .SH AUTHOR -\fBlch\fP are by Gustavo Adolfo Mesa Roldan , radikal . +\fBlch\fP are by Gustavo Adolfo Mesa Roldan , radikal , Ale Romero , m . This document is by radikal . \ No newline at end of file