* Wed Aug 27 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-5.sme

- fix completion for expand-template fails when file does not exists [SME: 12986]
This commit is contained in:
2025-08-27 13:05:23 -04:00
parent bda5f18bff
commit 0163360a4f
2 changed files with 8 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ _esmith_expand-template ()
/etc/e-smith/templates-custom \ /etc/e-smith/templates-custom \
/etc/e-smith/templates.metadata \ /etc/e-smith/templates.metadata \
-regex "/etc/e-smith/templates\(-custom\|.metadata\)?$cur.*" \ -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) ) | sh | uniq) )
;; ;;
*) ;; *) ;;

View File

@@ -4,7 +4,7 @@ Summary: bash completion specifications for smeserver-lib utilities
%define name smeserver-lib-compspec %define name smeserver-lib-compspec
Name: %{name} Name: %{name}
%define version 11.0.0 %define version 11.0.0
%define release 3 %define release 5
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}%{?dist}
License: GPL License: GPL
@@ -43,6 +43,12 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Wed Aug 27 2025 Jean-Philippe Pialasse <jpp@koozali.org> 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 <jpp@koozali.org> 11.0.0-4.sme
- change update event path
* Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-3.sme * Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-3.sme
- Set license file to GPL2.0 [SME: 12577] - Set license file to GPL2.0 [SME: 12577]