Projects
home:sicherha:branches:Kolab:16
roundcubemail-plugins-kolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 8
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +roundcubemail-plugins-kolab (1:3.5.3-0~kolab3) unstable; urgency=low + + * Re-introduce postinst scripts for calling updatedb.sh + + -- Christoph Erhardt <kolab@sicherha.de> Mon, 06 Jan 2020 20:48:30 +0100 + roundcubemail-plugins-kolab (1:3.5.3-0~kolab2) unstable; urgency=low * Release version 3.5.3
View file
debian.rules
Changed
@@ -15,7 +15,7 @@ mkdir -p $(CURDIR)/skins cp -avf /usr/share/roundcubemail/skins/elastic/ $(CURDIR)/skins/. - # Compile the CSS + # Compile the CSS for file in `find $(CURDIR) -type f -name "styles.less" -o -name "print.less" -o -name "embed.less" -o -name "libkolab.less"`; do \ lessc --relative-urls $${file} > $$(dirname $${file})/$$(basename $${file} .less).css ; \ sed -i \ @@ -108,3 +108,30 @@ override_dh_compress: dh_compress -Xsql + +override_dh_auto_install: + for plugin in `find $(CURDIR)/plugins/ -type d -mindepth 1 -maxdepth 1 -exec basename {} \;)`; do \ + pkgname=$$(echo $${plugin} | sed -e 's/_/-/g') ; \ + if [ -z "$$(find $(CURDIR)/plugins/$${plugin} -type d -name SQL)" ]; then \ + continue ; \ + fi ; \ + ( \ + echo "#!/bin/sh" ; \ + echo "" ; \ + echo "for dir in \$$(find /usr/share/roundcubemail/plugins/$${plugin}/ -type d -name SQL); do" ; \ + echo " # Skip plugins with multiple drivers and no kolab driver" ; \ + echo " if [ ! -z \"\$$(echo \$${dir} | grep driver)\" ]; then" ; \ + echo " if [ -z \"\$$(echo \$${dir} | grep kolab)\" ]; then" ; \ + echo " continue" ; \ + echo " fi" ; \ + echo " fi" ; \ + echo "" ; \ + echo " /usr/share/roundcubemail/bin/updatedb.sh \\" ; \ + echo " --dir \$${dir} \\" ; \ + echo " --package $${plugin} \\" ; \ + echo " >/dev/null 2>&1 || :" ; \ + echo "" ; \ + echo "done" ; \ + ) > $(CURDIR)/debian/roundcubemail-plugin-$${pkgname}.postinst ; \ + done + dh_auto_install
View file
roundcubemail-plugins-kolab.dsc
Changed
@@ -2,7 +2,7 @@ Source: roundcubemail-plugins-kolab Binary: roundcubemail-plugins-kolab Architecture: all -Version: 1:3.5.3-0~kolab2 +Version: 1:3.5.3-0~kolab3 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl> Standards-Version: 3.9.3
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.