ScoDoc/tools/debian/preinst

16 lines
300 B
Plaintext
Raw Normal View History

2021-08-24 16:18:00 +02:00
#!/bin/bash
# Pre-installation de scodoc
# ------------ Safety checks
if [ "${debian_version}" != "11" ]
then
echo "Version du systeme Linux Debian incompatible"
exit 1
fi
if [ "$(arch)" != "x86_64" ]
then
echo "Version du systeme Linux Debian incompatible (pas X86 64 bits)"
exit 1
fi