Commit ef80e9d3 authored by ergonlogic's avatar ergonlogic

Conditinally add subdirs/ to the debian package.

parent 8d27fb56
......@@ -10,9 +10,10 @@
override_dh_install:
cp -r "$(CURDIR)/db/" "$(CURDIR)/dns/" "$(CURDIR)/http/" "$(CURDIR)/aegir.make" "$(CURDIR)/platform/" "$(CURDIR)/Provision/" "$(CURDIR)/Symfony/" "$(CURDIR)"/*.inc "$(CURDIR)"/*.php "$(CURDIR)"/*.info "$(CURDIR)/debian/aegir2-provision/usr/share/drush/commands/provision/"
# We need this nasty hack, because we added a directory.
# We need this nasty hack, because we added directories.
# TODO: this is really lame, there must be a better way to do this?
if [ -d "$(CURDIR)/provision-tests" ]; then cp -r "$(CURDIR)/provision-tests/" "$(CURDIR)/debian/aegir2-provision/usr/share/drush/commands/provision/"; fi
if [ -d "$(CURDIR)/subdirs" ]; then cp -r "$(CURDIR)/subdirs/" "$(CURDIR)/debian/aegir2-provision/usr/share/drush/commands/provision/"; fi
cp "$(CURDIR)/debian/aegir2-provision.lintian" "$(CURDIR)/debian/aegir2-provision/usr/share/lintian/overrides/aegir-provision"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment