vérifie la dependance dh-systemd

This commit is contained in:
Emmanuel Garette 2022-03-01 12:28:15 +01:00
parent 3de74da53e
commit 05255b371f
1 changed files with 9 additions and 0 deletions

View File

@ -66,6 +66,15 @@ if [ $CURRENT_BRANCH = 'master' ]; then
git branch -d $DIST_BR > /dev/null 2>&1 git branch -d $DIST_BR > /dev/null 2>&1
exit 1 exit 1
fi 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 fi
git pull --rebase git pull --rebase
git merge $ORI_BR git merge $ORI_BR