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