[packaging] [Bug 4996] roundcube updatedb.sh is not called in plugin packages

Kolab Bugzilla noreply at kolab.org
Sun Apr 19 19:06:07 CEST 2015


https://issues.kolab.org/show_bug.cgi?id=4996

--- Comment #2 from Daniel Hoffend <dh at dotlan.net> ---
The original line in the .spec file
===================================

if [ ! -z "$(find ${plugin} -type d -name \"SQL\")" ]; then
    echo "for dir in \$(find /usr/share/roundcubemail/plugins/$(basename
${plugin})/ -type d -name \"SQL\"); do"

## the build log result

[   75s] ++ find roundcubemail-plugins-kolab-3.2.8/plugins/libkolab -type d
-name '"SQL"'
[   75s] + '[' '!' -z '' ']'


The updated line in the .spec file
==================================

if [ ! -z "$(find ${plugin} -type d -name SQL)" ]; then
    echo "for dir in \$(find /usr/share/roundcubemail/plugins/$(basename
${plugin})/ -type d -name SQL); do"

## the build log result

[   67s] ++ find roundcubemail-plugins-kolab-3.2.8/plugins/libkolab -type d
-name SQL                        
[   67s] + '[' '!' -z roundcubemail-plugins-kolab-3.2.8/plugins/libkolab/SQL
']'       
[   67s] ++ basename roundcubemail-plugins-kolab-3.2.8/plugins/libkolab        
[   67s] + echo 'for dir in $(find /usr/share/roundcubemail/plugins/libkolab/
-type d -name SQL); do'        
[   67s] + echo '    # Skip plugins with multiple drivers and no kolab driver'

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolabsys.com/pipermail/packaging-bugs/attachments/20150419/19f88fb1/attachment.htm>


More information about the packaging-bugs mailing list