plus de test pour le packaging 2.9
This commit is contained in:
parent
3681b8c07c
commit
3de74da53e
24
makepkg
24
makepkg
|
@ -43,9 +43,27 @@ if [ $CURRENT_BRANCH = 'master' ]; then
|
||||||
echo "compilable en 2.9"
|
echo "compilable en 2.9"
|
||||||
else
|
else
|
||||||
echo "NON COMPILABLE EN 2.9"
|
echo "NON COMPILABLE EN 2.9"
|
||||||
echo "Voir des exemples de modifications ici : https://dev-eole.ac-dijon.fr/issues/33643#note-6"
|
echo "Voir des exemples de modifications ici : https://dev-eole.ac-dijon.fr/issues/33643#note-6 (notamment la partie dh_builddeb)"
|
||||||
git checkout $ORI_BR
|
git checkout $ORI_BR > /dev/null 2>&1
|
||||||
git branch -d $DIST_BR
|
git branch -d $DIST_BR > /dev/null 2>&1
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if grep -q dh_systemd_enable debian/rules; then
|
||||||
|
echo "NON COMPILABLE EN 2.9"
|
||||||
|
echo "Voir des exemples de modifications ici : https://dev-eole.ac-dijon.fr/issues/33643#note-6 (notamment la partie systemd)"
|
||||||
|
git checkout $ORI_BR > /dev/null 2>&1
|
||||||
|
git branch -d $DIST_BR > /dev/null 2>&1
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "systemd ok"
|
||||||
|
fi
|
||||||
|
if grep -q 1 debian/compat; then
|
||||||
|
echo "bonne version compat"
|
||||||
|
else
|
||||||
|
echo "NON COMPILABLE EN 2.9"
|
||||||
|
echo "Il doit y avoir au moins 10 (idéalement 13) dans debian/compat !!!"
|
||||||
|
git checkout $ORI_BR > /dev/null 2>&1
|
||||||
|
git branch -d $DIST_BR > /dev/null 2>&1
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue