Package: khal
Version: 1:0.11.3-1
Severity: normal
Tags: patch
X-Debbugs-Cc: si...@ruderich.org

Hi,

the command line to change the completion scripts changed
upstream resulting in broken scripts. The attached patch fixes it
(I removed the || true because it might hide errors and the test
-s because it didn't notice the mistake).

Best,
Simon
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
--- debian/rules	2022-12-16 17:36:21.000000000 +0100
+++ debian/rules	2024-08-21 08:47:45.657596644 +0200
@@ -32,13 +32,11 @@
 execute_after_dh_auto_install:
 # generate shell completion scripts
 	$(_ENV) \
-	  _SILKAJ_COMPLETE=bash_source $(cmd) \
-		> debian/bash-completion || true
-	test -s debian/bash-completion
+	  _KHAL_COMPLETE=bash_source $(cmd) \
+		> debian/bash-completion
 	$(_ENV) \
-	  _SILKAJ_COMPLETE=zsh_source $(cmd) \
-		> debian/_$(cmd) || true
-	test -s debian/_$(cmd)
+	  _KHAL_COMPLETE=zsh_source $(cmd) \
+		> debian/_$(cmd)
 # prepare sample config for installation using dh_installexamples
 	cp -f khal.conf.sample debian/khal.conf
 

Attachment: signature.asc
Description: PGP signature

Reply via email to