From 04afd850374598caf9cda4d1db1b8ce89c42fda9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 18 Jan 2016 18:58:12 +0200 Subject: [PATCH] avoid .sh ext for .php scripts --- roundcubemail.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/roundcubemail.spec b/roundcubemail.spec index f5f4bd4..df6bb1d 100644 --- a/roundcubemail.spec +++ b/roundcubemail.spec @@ -16,7 +16,7 @@ Summary: RoundCube Webmail Summary(pl.UTF-8): RoundCube Webmail - poczta przez WWW Name: roundcubemail Version: 1.0.8 -Release: 0.2 +Release: 0.3 License: GPL v3+ Group: Applications/Mail Source0: http://downloads.sourceforge.net/roundcubemail/%{name}-%{version}-dep.tar.gz @@ -178,9 +178,16 @@ find -name .svn | xargs -r rm -rf # fill proper shebang %{__sed} -i -e '1s,^#!.*php,#!/usr/bin/php,' bin/*.sh +# these are php scripts really +for a in $(grep -l '