commit 5f7db3b749699e678e4bb05b32af1e8d99e6c137
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Wed Oct 26 14:52:05 2016 +0200
Fix -find- commands
lives.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/lives.spec b/lives.spec
index 00a4d3d..a6f4b9e 100644
--- a/lives.spec
+++ b/lives.spec
@@ -145,10 +145,8 @@ rm -rf %{buildroot}%{_docdir}/lives-%{version}
chrpath -d %{buildroot}%{_bindir}/lives-exe
# Fix Python interpreter
-find %{buildroot} -name 'lives_*' -o -name 'multi_encoder' | xargs sed -i
'1s|^#!/usr/bin/env python|#!%{__python2}|'
-find %{buildroot} -name 'lives_*' -o -name 'lives_*_encoder' | xargs sed
-i '1s|^#!/usr/bin/env python|#!%{__python2}|'
-find %{buildroot} -name 'lives_*' -o -name 'multi_encoder3' | xargs sed
-i '1s|^#!/usr/bin/env python|#!%{__python3}|'
-find %{buildroot} -name 'lives_*' -o -name 'lives_*_encoder3' | xargs sed
-i '1s|^#!/usr/bin/env python|#!%{__python3}|'
+find %{buildroot} -name 'lives*encoder' -o -name 'multi_encoder' | xargs
sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|'
+find %{buildroot} -name 'lives*encoder3' -o -name 'multi_encoder3' |
xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python3}|'
##Set Exec key
desktop-file-edit \
Show replies by date