0.5r2 - Exit 0
This commit is contained in:
@@ -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
|
||||||
@@ -37,5 +37,4 @@ function compressor()
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
echo -e "\nDone"
|
echo -e "\nDone"
|
||||||
exit 0
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,5 +37,4 @@ function decompressor()
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
echo -e "\nDone"
|
echo -e "\nDone"
|
||||||
exit 0
|
|
||||||
}
|
}
|
||||||
@@ -82,5 +82,4 @@ function install()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "\nDependencies installation finished\n"
|
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"
|
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()
|
||||||
|
|||||||
Reference in New Issue
Block a user