Files
Debian-Builder/lib.sh
Holger Sielaff 31fcc001e4 Initial
2025-06-26 10:01:07 +02:00

19 lines
314 B
Bash

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
}