From e753aee1c51cbb69804911a31b819f86a92b6165 Mon Sep 17 00:00:00 2001 From: simono41 Date: Wed, 22 Aug 2018 00:46:12 +0200 Subject: [PATCH] fix --- update-packages | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update-packages b/update-packages index d28f673..509379d 100755 --- a/update-packages +++ b/update-packages @@ -9,6 +9,9 @@ if [[ $EUID -ne 0 ]]; then fi echo "Als root Angemeldet" +hostname="$(cat /etc/hostname)" +[[ -z "${version}" ]] && version="${hostname#*-}" + repo=SpectreOS repo1=shell-scripte