diff --git a/README.md b/README.md index 4232f16..71a181e 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ The following OSs are likely able to run Veil: - Elementary - Fedora 22+ - Linux Mint +- Pardus 19+ - Parrot Security - Ubuntu 15.10+ - Void Linux diff --git a/config/setup.sh b/config/setup.sh index 1507a48..e966d4b 100755 --- a/config/setup.sh +++ b/config/setup.sh @@ -12,6 +12,7 @@ if [ "${os}" == "arch" ] \ || [ "${os}" == "elementary" ] \ || [ "${os}" == "kali" ] \ || [ "${os}" == "linuxmint" ] \ +|| [ "${os}" == "pardus" ] \ || [ "${os}" == "\"void\"" ] \ || [ "${os}" == "ubuntu" ]; then trueuser="$( who | tr -d '\n' | cut -d' ' -f1 )" @@ -244,6 +245,7 @@ func_package_deps(){ || [ "${os}" == "deepin" ] \ || [ "${os}" == "kali" ] \ || [ "${os}" == "linuxmint" ] \ + || [ "${os}" == "pardus" ] \ || [ "${os}" == "parrot" ] \ || [ "${os}" == "ubuntu" ]; then ## Silent mode? @@ -280,6 +282,7 @@ func_package_deps(){ if [ "${os}" == "debian" ] \ || [ "${os}" == "kali" ] \ + || [ "${os}" == "pardus" ] \ || [ "${os}" == "parrot" ]; then echo -e "\n\n [*] ${YELLOW}Installing Python's pycrypto (via apt)...${RESET}\n" sudo ${arg} apt-get install -y python3-crypto @@ -504,6 +507,7 @@ func_package_deps(){ || [ "${os}" == "deepin" ] \ || [ "${os}" == "kali" ] \ || [ "${os}" == "linuxmint" ] \ + || [ "${os}" == "pardus" ] \ || [ "${os}" == "parrot" ] \ || [ "${os}" == "ubuntu" ]; then ## Silent mode? @@ -1042,6 +1046,11 @@ elif [ "${os}" == "fedora" ]; then echo -e " ${RED}[ERROR]: Veil is only supported on Fedora 22 or higher!${RESET}\n" exit 1 fi +elif [ "${os}" == "pardus" ]; then + if [[ "${osmajversion}" -lt "17" ]]; then + echo -e " ${RED}[ERROR]: Veil is only supported on Pardus 17 or higher!${RESET}\n" + exit 1 + fi else os="$( awk -F '["=]' '/^ID=/ {print $2}' /etc/os-release 2>&- | cut -d'.' -f1 )" if [ "${os}" == "arch" ]; then