Don't even try to run checks if file does not exist

This commit is contained in:
Pedro Algarvio 2014-06-06 08:44:48 +01:00
parent e337fa53c3
commit defc76985e

View file

@ -928,6 +928,10 @@ __ubuntu_derivatives_translation() {
# functions by pretending to be Debian (i.e. change global vars)
#----------------------------------------------------------------------------------------------------------------------
__debian_derivatives_translation() {
# If the file does not exist, return
[ ! -f /etc/os-release ] && return
DEBIAN_DERIVATIVES="(kali)"
# Mappings
kali_1_debian_base="7.0"