]> git.pld-linux.org Git - packages/roundcubemail.git/commitdiff
avoid .sh ext for .php scripts
authorElan Ruusamäe <glen@delfi.ee>
Mon, 18 Jan 2016 16:58:12 +0000 (18:58 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 18 Jan 2016 16:58:12 +0000 (18:58 +0200)
roundcubemail.spec

index f5f4bd40b8074811e508094986a613c2fd7ec089..df6bb1d6c5e02d5527c363bf816e84549fba96ba 100644 (file)
@@ -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
This page took 0.311545 seconds and 4 git commands to generate.