Fix shellcheck SC2268

shellcheck 0.11.0 complains:

```
In debian/initramfs-tools.postinst line 6:
if [ "x$1" != xtriggered ]; then
     ^---^ SC2268 (style): Avoid x-prefix in comparisons as it no longer serves a purpose.

Did you mean:
if [ "$1" != triggered ]; then
```
This commit is contained in:
Benjamin Drung 2025-11-12 13:00:53 +01:00
parent 813886bbb3
commit 7d68e103cc

View File

@ -3,7 +3,7 @@
set -e
# Regenerate initramfs whenever we go to dpkg state `installed'
if [ "x$1" != xtriggered ]; then
if [ "$1" != triggered ]; then
# this activates the trigger, if triggers are working
update-initramfs -u
else