[packages/imsettings] - rel 2, update no-bash fixes

baggins baggins at pld-linux.org
Tue Sep 9 09:10:24 CEST 2025


commit 3b372ff842ebf2038c50ed8f5e1598500154e7b0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Sep 9 11:10:06 2025 +0200

    - rel 2, update no-bash fixes

 imsettings-no-bash.patch | 6 ++++--
 imsettings.spec          | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/imsettings.spec b/imsettings.spec
index 0d7343f..c84279a 100644
--- a/imsettings.spec
+++ b/imsettings.spec
@@ -10,7 +10,7 @@ Summary:	Delivery framework for general Input Method configuration
 Summary(pl.UTF-8):	Szkielet do ogólnej konfiguracji method wprowadzania znaków
 Name:		imsettings
 Version:	1.8.10
-Release:	1
+Release:	2
 License:	LGPL v2+
 Group:		Applications/System
 #Source0Download: https://gitlab.com/tagoh/imsettings/-/releases
diff --git a/imsettings-no-bash.patch b/imsettings-no-bash.patch
index 3bd1617..f109d31 100644
--- a/imsettings-no-bash.patch
+++ b/imsettings-no-bash.patch
@@ -88,7 +88,7 @@
    [ -n "$IMSETTINGS_DISABLE_DESKTOP_CHECK" ] && return 0
    if check_imsettings_capability xim; then
      return 0
-@@ -185,20 +185,20 @@ function is_xim_supported() {
+@@ -185,22 +185,22 @@ function is_xim_supported() {
    return 1
  }
  
@@ -103,7 +103,9 @@
    ret=0
 -  for i in ${IMSETTINGS_IGNORE_SESSION//,/ }; do
 +  for i in $(echo "${IMSETTINGS_IGNORE_SESSION}" | tr , ' '); do
-     [ "$(get_desktop|tr '[:upper:]' '[:lower:]')" == "$(echo $i|tr '[:upper:]' '[:lower:]')" ] && ret=1
+     if [[ "$(get_desktop|tr '[:upper:]' '[:lower:]')" == $(echo $i|tr '[:upper:]' '[:lower:]') ]]; then
+       ret=1
+     fi
    done
    return $ret
  }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/imsettings.git/commitdiff/3b372ff842ebf2038c50ed8f5e1598500154e7b0



More information about the pld-cvs-commit mailing list