From: Martin Pitt Date: Sat, 11 Apr 2020 20:09:36 +0000 (+0200) Subject: build-debian-toolbox: Default VERSION_ID X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=4bdf78e427a081da363eb0bf12b9bc114aa89745;p=bin.git build-debian-toolbox: Default VERSION_ID Sid doesn't have a VERSION_ID. --- diff --git a/build-debian-toolbox b/build-debian-toolbox index fbeb13b..821b52b 100755 --- a/build-debian-toolbox +++ b/build-debian-toolbox @@ -31,7 +31,7 @@ sudo umount /var/log/journal # useful hostname . /etc/os-release -echo "${ID}-${VERSION_ID}" | sudo tee /etc/hostname +echo "${ID}-${VERSION_ID:-sid}" | sudo tee /etc/hostname sudo hostname -F /etc/hostname sudo eatmydata apt-get -y dist-upgrade