CRM-16084 - a hack that fixes the issue.
[civicrm-core.git] / composer.json
index 89325b984377880865c4c957bd27b52de6477940..d4701c874b3808aa4ca80e87aa6b41d16cdb2e9c 100644 (file)
@@ -6,10 +6,19 @@
     }
   },
   "require": {
+    "dompdf/dompdf" : "0.6.*",
     "symfony/dependency-injection": "2.3.*",
     "symfony/event-dispatcher": "2.3.*",
     "psr/log": "1.0.0",
     "symfony/finder": "2.3.*",
     "totten/ca-config": "~13.02"
+  },
+  "scripts": {
+    "post-install-cmd": [
+      "bash tools/scripts/composer/dompdf-cleanup.sh"
+    ],
+    "post-update-cmd": [
+      "bash tools/scripts/composer/dompdf-cleanup.sh"
+    ]
   }
 }