diff --git a/test.sh b/test.sh index 2ba58fe..6571369 100755 --- a/test.sh +++ b/test.sh @@ -24,9 +24,11 @@ function myfunc() myresult[0]="a" myresult[1]="b" echo 'yes'; + if [ -f /etc/debian_version ] ; then myresult[2]="c" myresult[3]="d" myresult[4]="e" +fi echo "ok" }