Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Pardus 21 and 19 support for installation #445

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions config/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 )"
Expand Down Expand Up @@ -244,6 +245,7 @@ func_package_deps(){
|| [ "${os}" == "deepin" ] \
|| [ "${os}" == "kali" ] \
|| [ "${os}" == "linuxmint" ] \
|| [ "${os}" == "pardus" ] \
|| [ "${os}" == "parrot" ] \
|| [ "${os}" == "ubuntu" ]; then
## Silent mode?
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -504,6 +507,7 @@ func_package_deps(){
|| [ "${os}" == "deepin" ] \
|| [ "${os}" == "kali" ] \
|| [ "${os}" == "linuxmint" ] \
|| [ "${os}" == "pardus" ] \
|| [ "${os}" == "parrot" ] \
|| [ "${os}" == "ubuntu" ]; then
## Silent mode?
Expand Down Expand Up @@ -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
Expand Down