feat: Add new run script

This commit is contained in:
zen0bit 2024-04-21 00:05:11 +02:00 committed by Martin Wimpress
parent 12a17a82a6
commit 9bbfd6dafe
1 changed files with 7 additions and 0 deletions

View File

@ -3658,6 +3658,13 @@ if [ ! -e "${CURL}" ]; then
fi fi
CURL_VERSION=$("${CURL}" --version | head -1 | cut -d' ' -f2) CURL_VERSION=$("${CURL}" --version | head -1 | cut -d' ' -f2)
case "${1}" in
-1*|-2*|-3*|-4*|-5*)
show_os_info "${1}" "${2}"
exit 0
;;
esac
if [ -n "${1}" ]; then if [ -n "${1}" ]; then
OS="${1,,}" OS="${1,,}"
if [ "${OS}" == "list" ] || [ "${OS}" == "list_csv" ]; then if [ "${OS}" == "list" ] || [ "${OS}" == "list_csv" ]; then