Skip to content

Commit

Permalink
Fixed Fedora OS version read for setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
Script-Nomad committed Feb 22, 2019
1 parent faf2527 commit db37bb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,7 @@ elif [ "${os}" == "debian" ]; then
fi
elif [ "${os}" == "fedora" ]; then
echo -e " [I] ${YELLOW}Fedora ${osversion} ${arch} detected...${RESET}\n"
[[ -z "$osmajversion" ]] && osmajversion=$osversion
if [[ "${osmajversion}" -lt "22" ]]; then
echo -e " ${RED}[ERROR]: Veil is only supported on Fedora 22 or higher!${RESET}\n"
exit 1
Expand Down

0 comments on commit db37bb2

Please sign in to comment.