verifier si le fichier debian/compat existe
This commit is contained in:
parent
e15a4ae341
commit
93cf7877f5
4
makepkg
4
makepkg
|
@ -57,6 +57,7 @@ if [ $CURRENT_BRANCH = 'master' ]; then
|
||||||
else
|
else
|
||||||
echo "systemd ok"
|
echo "systemd ok"
|
||||||
fi
|
fi
|
||||||
|
if [ -f debian/compat ]; then
|
||||||
if grep -q 1 debian/compat; then
|
if grep -q 1 debian/compat; then
|
||||||
echo "bonne version compat"
|
echo "bonne version compat"
|
||||||
else
|
else
|
||||||
|
@ -66,6 +67,7 @@ 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
|
||||||
|
fi
|
||||||
if grep -q "with systemd" debian/control; then
|
if grep -q "with systemd" debian/control; then
|
||||||
echo "NON COMPILABLE EN 2.9"
|
echo "NON COMPILABLE EN 2.9"
|
||||||
echo "Supprimer --with systemd dans debian/control !!!"
|
echo "Supprimer --with systemd dans debian/control !!!"
|
||||||
|
@ -73,7 +75,7 @@ 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
|
||||||
else
|
else
|
||||||
echo "pas de dh-systemd"
|
echo "pas de with systemd"
|
||||||
fi
|
fi
|
||||||
if grep -q dh-systemd debian/control; then
|
if grep -q dh-systemd debian/control; then
|
||||||
echo "NON COMPILABLE EN 2.9"
|
echo "NON COMPILABLE EN 2.9"
|
||||||
|
|
Loading…
Reference in New Issue