mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Don't even try to run checks if file does not exist
This commit is contained in:
parent
e337fa53c3
commit
defc76985e
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue