s/Ubuntu/Debian/ in debian build script

This commit is contained in:
fnux 2020-05-13 14:27:58 +02:00
parent 0e7aa75959
commit 5a2e01d0ed
1 changed files with 3 additions and 3 deletions

View File

@ -43,9 +43,9 @@ if [ "$(whoami)" != 'root' ]; then
exit 1
fi
if [ $(lsb_release --short --id) != "Ubuntu" ]; then
echo "WARNING: this script has been designed to run on an Ubuntu system." >&2
echo "WARNING: Not running Ubuntu. Giving you 5 seconds to abort." >&2
if [ $(lsb_release --short --id) != "Debian" ]; then
echo "WARNING: this script has been designed to run on an Debian system." >&2
echo "WARNING: Not running Debian. Giving you 5 seconds to abort." >&2
sleep 5
fi