[packages/kadu] - fix shebang

baggins baggins at pld-linux.org
Sun Aug 9 11:11:53 CEST 2020


commit e48686805181d6399c7ba61a79162867555d28f4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Aug 9 11:11:42 2020 +0200

    - fix shebang

 kadu.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/kadu.spec b/kadu.spec
index 51d37a8..7a3447c 100644
--- a/kadu.spec
+++ b/kadu.spec
@@ -839,6 +839,9 @@ tar xzf %{SOURCE17} -C plugins
 # Change hard coded path to modules data files
 %{__sed} -i 's,dataPath("kadu/plugins/*,("%{modules_data_dir}/,g' kadu-core/plugins/plugin.cpp
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+bash(\s|$),#!/bin/bash\1,' \
+      translations/plugintsupdate.sh
+
 %build
 mkdir -p build
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kadu.git/commitdiff/e48686805181d6399c7ba61a79162867555d28f4



More information about the pld-cvs-commit mailing list