MonScoDocEssai/tools/debian/preinst

16 lines
300 B
Bash

#!/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