10 lines
264 B
Bash
10 lines
264 B
Bash
#!/bin/sh
|
|
set -eu
|
|
if [ "$1" = install ] || [ "$1" = upgrade ]; then
|
|
. /etc/os-release
|
|
if [ "${ID:-}" != ubuntu ] || [ "${VERSION_ID:-}" != 24.04 ]; then
|
|
echo "Mission Core Node: this package requires Ubuntu 24.04 LTS Desktop amd64." >&2
|
|
exit 1
|
|
fi
|
|
fi
|