This commit is contained in:
Holger Sielaff
2025-06-26 10:01:07 +02:00
commit 31fcc001e4
6 changed files with 493 additions and 0 deletions

18
lib.sh Normal file
View File

@@ -0,0 +1,18 @@
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
}