Projects
Kolab:Winterfell
roundcubemail
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 120
View file
debian.rules
Changed
@@ -6,6 +6,9 @@ dh $@ override_dh_auto_build: + echo $(CURDIR) + find debian/ -type f | sort + mkdir -p $(CURDIR)/debian/home/.composer/ echo '{}' > $(CURDIR)/debian/home/.composer/composer.json patch -p1 < debian/patches/add-composer-autoloader.diff || : @@ -53,7 +56,7 @@ done # The already minied JS can just be copied over to the assets location - for file in `find $(CURDIR)/ -type f -name "*.min.js"`; do \ + for file in `find $(CURDIR)/ ! -path $(CURDIR)/public_html/ -type f -name "*.min.js"`; do \ asset_loc=$$(dirname $$(echo $${file} | sed \ -e "s|$(CURDIR)/plugins/|$(CURDIR)/public_html/assets/plugins/|g" \ -e "s|$(CURDIR)/program/|$(CURDIR)/public_html/assets/program/|g" \ @@ -91,8 +94,11 @@ cp -avf $${file} $${asset_loc}/$$(basename $${file}); \ done - for plugin in `find $(CURDIR)/plugins/ -type d -mindepth 1 -maxdepth 1 -exec basename {} \;)`; do \ + for plugin in `find $(CURDIR)/plugins/ -type d -mindepth 1 -maxdepth 1 -exec basename {} \;) | sort -u`; do \ pkgname=$$(echo $${plugin} | sed -e 's/_/-/g') ; \ + if [ -f "$(CURDIR)/debian/roundcubemail-plugin-$${pkgname}.install" ]; then \ + continue ; \ + fi ; \ if [ -f "$(CURDIR)/plugins/$${plugin}/config.inc.php.dist" ]; then \ mv $(CURDIR)/plugins/$${plugin}/config.inc.php.dist $(CURDIR)/config/$${plugin}.inc.php ; \ echo "etc/roundcubemail/$${plugin}.inc.php usr/share/roundcubemail/plugins/$${plugin}/config.inc.php" >> debian/roundcubemail-plugin-$${pkgname}.links ; \ @@ -127,11 +133,12 @@ cp -v ../SOURCES/plesk.password.inc.php config/password.inc.php ; \ sed -i -e 's/www-data adm/roundcube_sysuser roundcube_sysgroup/g' debian/logrotate ; \ else \ - mv config/config.inc.php.sample config/config.inc.php ; \ + find config/ -type f | sort ; \ + if [ -f "config/config.inc.php.sample" ]; then \ + mv config/config.inc.php.sample config/config.inc.php ; \ + fi ; \ fi - dh_auto_build - override_dh_install: if [ ! -f "/etc/plesk-release" ]; then \ mkdir -p $(CURDIR)/debian/roundcubemail-core/etc/apache2/sites-available ; \
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
.