From 6c268b9094390faa90b2f67c664a749e7b4c022c Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Wed, 2 Sep 2020 22:02:17 +0700 Subject: [PATCH] armh-mcom02: Fix for missing alsa-set-initial-options --- .../image-scripts.d/50-alsa-set-initial-options-ports | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features.in/armh-mcom02/image-scripts.d/50-alsa-set-initial-options-ports b/features.in/armh-mcom02/image-scripts.d/50-alsa-set-initial-options-ports index ca05ba3e..d63ff23a 100755 --- a/features.in/armh-mcom02/image-scripts.d/50-alsa-set-initial-options-ports +++ b/features.in/armh-mcom02/image-scripts.d/50-alsa-set-initial-options-ports @@ -1,5 +1,6 @@ #!/bin/sh -efu -[ "$GLOBAL_ARCH" = armh ] && sed -i '/snd-seq-midi/d' /etc/firsttime.d/alsa-set-initial-options +[ -f /etc/firsttime.d/alsa-set-initial-options ] && + sed -i '/snd-seq-midi/d' /etc/firsttime.d/alsa-set-initial-options exit 0