forked from ScoDoc/ScoDoc
modif script install pour Debian 12
This commit is contained in:
parent
753deac3b7
commit
f2574c2d49
@ -176,7 +176,7 @@ puis
|
||||
|
||||
snakeviz -s --hostname 0.0.0.0 -p 5555 /opt/scodoc-data/GET.ScoDoc......prof
|
||||
|
||||
# Paquet Debian 11
|
||||
# Paquet Debian 12
|
||||
|
||||
Les scripts associés au paquet Debian (.deb) sont dans `tools/debian`. Le plus
|
||||
important est `postinst`qui se charge de configurer le système (install ou
|
||||
|
@ -22,10 +22,10 @@ then
|
||||
debian_version=$(cat /etc/debian_version)
|
||||
debian_version=${debian_version%%.*}
|
||||
echo "Detected Debian version: ${debian_version}"
|
||||
if [ "$debian_version" != "11" ]
|
||||
if [ "$debian_version" != "12" ]
|
||||
then
|
||||
echo "Erreur: version Linux Debian incompatible"
|
||||
echo "Utiliser un système Debian Bullseye (11)"
|
||||
echo "Utiliser un système Debian Bookwork (12)"
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
@ -33,7 +33,7 @@ else
|
||||
echo "can't detect Debian version"
|
||||
exit 1
|
||||
fi
|
||||
echo "--- Configuration de ScoDoc pour Debian 11"
|
||||
echo "--- Configuration de ScoDoc pour Debian 12"
|
||||
|
||||
# ------------ CONFIG FIREWALL OPTIONNELLE
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user