From 7145e056d1f0c03fc406ce85d7711ea6bf5996b3 Mon Sep 17 00:00:00 2001 From: Ritesh Raj Sarraf <ritesh.sarraf@collabora.com> Date: Mon, 12 Aug 2019 20:09:08 +0530 Subject: [PATCH] Fix syntax error in shell script Signed-off-by: Ritesh Raj Sarraf <ritesh.sarraf@collabora.com> --- .../apertis/0003-Reworked-kernel-install-script.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/patches/apertis/0003-Reworked-kernel-install-script.patch b/debian/patches/apertis/0003-Reworked-kernel-install-script.patch index bf0d40ab..ffff6a72 100644 --- a/debian/patches/apertis/0003-Reworked-kernel-install-script.patch +++ b/debian/patches/apertis/0003-Reworked-kernel-install-script.patch @@ -68,12 +68,12 @@ Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com> done -if [[ "${0##*/}" == 'installkernel' ]]; then -++if [ "${0%installkernel}" != "${0}" ]; then ++if [ "${0%installkernel}" != "${0}" ]; then COMMAND='add' - # make install doesn't pass any parameter wrt initrd handling - INITRD_OPTIONS=() -++elif [ "${0%removekernel}" != "${0}" ]; then -++ COMMAND='remove' ++elif [ "${0%removekernel}" != "${0}" ]; then ++ COMMAND='remove' else COMMAND="$1" shift -- GitLab