check_apt() { [[ ! -f apt.conf.sh ]] && echo "No apt.conf.sh - cd to package root directory" && exit 128 } is_yes(){ [[ "$1" =~ y|Y|j|J ]] && return true return false } is_no(){ [[ "$1" =~ n|N ]] && return true return false } actual_branch() { git rev-parse --abbrev-ref HEAD }