[packages/roundcubemail] avoid .sh ext for .php scripts
glen
glen at pld-linux.org
Mon Jan 18 17:58:16 CET 2016
commit 04afd850374598caf9cda4d1db1b8ce89c42fda9
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Jan 18 18:58:12 2016 +0200
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 '<?php' bin/*.sh); do
+ mv $a ${a%.sh}
+done
+%{__sed} -i s/indexcontacts.sh/indexcontacts/g bin/update
+%{__sed} -i s/updatedb.sh/updatedb/g bin/update
# tools to pack js
rm bin/jsshrink.sh
+rm bin/cssshrink.sh
# pear package junk
rm -v plugins/*/package.xml
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/roundcubemail.git/commitdiff/04afd850374598caf9cda4d1db1b8ce89c42fda9
More information about the pld-cvs-commit
mailing list