Adds Debian support to dependencycheck script
Signed-off-by: Alastor <admin@trapacid.icu>
This commit is contained in:
parent
275e6ff6dc
commit
76f61093c2
@ -74,6 +74,11 @@ case "$DISTRO" in
|
|||||||
[ "$(type apt-get)" ] || { printf "/etc/os-release outputs 'ID=ubuntu' but APT is not present, exiting.."; exit; }
|
[ "$(type apt-get)" ] || { printf "/etc/os-release outputs 'ID=ubuntu' but APT is not present, exiting.."; exit; }
|
||||||
OS="ubuntu"
|
OS="ubuntu"
|
||||||
;;
|
;;
|
||||||
|
"debian")
|
||||||
|
[ "$(type apt-get)" ] || { printf "/etc/os-release outputs 'ID=debian' but APT is not present, exiting.."; exit; }
|
||||||
|
OS="ubuntu"
|
||||||
|
;;
|
||||||
|
# package names are the same. Also kitware's Ubuntu CMake works just fine on Debian
|
||||||
"fedora")
|
"fedora")
|
||||||
[ "$(type dnf)" ] || { printf "/etc/os-release outputs 'ID=fedora' but DNF is not present, exiting.."; exit; }
|
[ "$(type dnf)" ] || { printf "/etc/os-release outputs 'ID=fedora' but DNF is not present, exiting.."; exit; }
|
||||||
OS="fedora"
|
OS="fedora"
|
||||||
|
Reference in New Issue
Block a user