From 0163360a4f43beb7808fa1991087b97f9c0383e3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Wed, 27 Aug 2025 13:05:23 -0400 Subject: [PATCH] * Wed Aug 27 2025 Jean-Philippe Pialasse 11.0.0-5.sme - fix completion for expand-template fails when file does not exists [SME: 12986] --- root/etc/profile.d/e-smith-lib_compspec.sh | 2 +- smeserver-lib-compspec.spec | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/root/etc/profile.d/e-smith-lib_compspec.sh b/root/etc/profile.d/e-smith-lib_compspec.sh index b113145..f0a5a19 100644 --- a/root/etc/profile.d/e-smith-lib_compspec.sh +++ b/root/etc/profile.d/e-smith-lib_compspec.sh @@ -27,7 +27,7 @@ _esmith_expand-template () /etc/e-smith/templates-custom \ /etc/e-smith/templates.metadata \ -regex "/etc/e-smith/templates\(-custom\|.metadata\)?$cur.*" \ - -printf "[ -f /%P ] && echo /%P\n" \ + -printf "[[ -f /%P || -f /etc/e-smith/templates.metadata/%P ]] && echo /%P\n" \ | sh | uniq) ) ;; *) ;; diff --git a/smeserver-lib-compspec.spec b/smeserver-lib-compspec.spec index 26a78a6..02274ba 100644 --- a/smeserver-lib-compspec.spec +++ b/smeserver-lib-compspec.spec @@ -4,7 +4,7 @@ Summary: bash completion specifications for smeserver-lib utilities %define name smeserver-lib-compspec Name: %{name} %define version 11.0.0 -%define release 3 +%define release 5 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -43,6 +43,12 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %changelog +* Wed Aug 27 2025 Jean-Philippe Pialasse 11.0.0-5.sme +- fix completion for expand-template fails when file does not exists [SME: 12986] + +* Wed Apr 17 2024 Jean-Philippe Pialasse 11.0.0-4.sme +- change update event path + * Thu Apr 04 2024 Brian Read 11.0.0-3.sme - Set license file to GPL2.0 [SME: 12577]