From e15a4ae341b82d3aa0844001bd43a60fc9198391 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Tue, 1 Mar 2022 15:26:48 +0100 Subject: [PATCH] with systemd --- makepkg | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/makepkg b/makepkg index b1b6e8d..3860d24 100755 --- a/makepkg +++ b/makepkg @@ -66,6 +66,15 @@ if [ $CURRENT_BRANCH = 'master' ]; then git branch -d $DIST_BR > /dev/null 2>&1 exit 1 fi + if grep -q "with systemd" debian/control; then + echo "NON COMPILABLE EN 2.9" + echo "Supprimer --with systemd dans debian/control !!!" + git checkout $ORI_BR > /dev/null 2>&1 + git branch -d $DIST_BR > /dev/null 2>&1 + exit 1 + else + echo "pas de dh-systemd" + fi if grep -q dh-systemd debian/control; then echo "NON COMPILABLE EN 2.9" echo "Dépendance à dh-systemd dans debian/control !!!"