From 9621f9a9adbf231f72756d3e9ffab28f9ffe5b31 Mon Sep 17 00:00:00 2001 From: Cantibra Date: Thu, 21 May 2026 07:32:18 +0200 Subject: [PATCH] 1 --- pironman5/DEBIAN/postrm | 2 +- pironman5/DEBIAN/preinst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pironman5/DEBIAN/postrm b/pironman5/DEBIAN/postrm index bbe67cb..faf9028 100644 --- a/pironman5/DEBIAN/postrm +++ b/pironman5/DEBIAN/postrm @@ -3,7 +3,7 @@ set -e set -u -BOOT=$(/usr/bin/grep '/boot' '/etc/fstab' | /usr/bin/mawk '$1 !~ /^#/ && $2 ~ /^[/]/ {print $2}') +BOOT=$(/usr/bin/grep '/boot' '/etc/fstab' | /usr/bin/awk '$1 !~ /^#/ && $2 ~ /^[/]/ {print $2}') /usr/bin/test -n "${BOOT}" if [ -d '/run/systemd/system' ]; then diff --git a/pironman5/DEBIAN/preinst b/pironman5/DEBIAN/preinst index 90ff491..1ce3673 100644 --- a/pironman5/DEBIAN/preinst +++ b/pironman5/DEBIAN/preinst @@ -5,7 +5,7 @@ set -u TMP=$(/usr/bin/mktemp --directory --quiet) trap "/usr/bin/rm --force --recursive ${TMP}" EXIT -BOOT=$(/usr/bin/grep '/boot' '/etc/fstab' | /usr/bin/mawk '$1 !~ /^#/ && $2 ~ /^[/]/ {print $2}') +BOOT=$(/usr/bin/grep '/boot' '/etc/fstab' | /usr/bin/awk '$1 !~ /^#/ && $2 ~ /^[/]/ {print $2}') /usr/bin/test -n "${BOOT}" case "${1}" in