From c63b924d338cae75b3bc1a666700f626c81e0005 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Sat, 25 Apr 2026 13:54:15 +0200 Subject: [PATCH] =?utf8?q?Poprawienie=20b=C5=82=C4=99du=20w=20instalatorze?= =?utf8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- tools/sbin/immudex-install | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/sbin/immudex-install b/tools/sbin/immudex-install index 7d25fd6..4e2eb69 100755 --- a/tools/sbin/immudex-install +++ b/tools/sbin/immudex-install @@ -50,9 +50,13 @@ if [ "$1" ]; then elif [ "$1" = "--version" ]; then version; fi -else -if $(echo $1 | grep -q 'partition-size'); then - idxPartSize=$(echo $1 | cut -d "=" -f2); +fi +if [ "$1" ]; then + if $(echo $1 | grep -q 'partition-size'); then + idxPartSize=$(echo $1 | cut -d "=" -f2); + else + idxPartSize="3G"; + fi else idxPartSize="3G"; fi @@ -202,4 +206,3 @@ EOF umount /media > /dev/null 2>&1; if [ $? -eq 0 ]; then echo -e "[ ${GREEN}OK${ENDCOLOR} ]"; fi fi -fi -- 2.39.5