diff --git a/makepkg b/makepkg index af979ff..b1b6e8d 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 dh-systemd debian/control; then + echo "NON COMPILABLE EN 2.9" + echo "Dépendance à dh-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 fi git pull --rebase git merge $ORI_BR