Skip to contentSkip to conversation

phpmyadmin: don't install patches

PATCH New [email protected] 1 participant 1 message Dec 15, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phpmyadmin: don't install patches

From: Wenzong Fan <[email protected]>

Don't install local patch files to target.

---
 meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb |    2 ++
 1 file changed, 2 insertions(+)
meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb +2 -0
index 49ca7da..7cc3604 100644
@@ -21,6 +21,8 @@ inherit allarch
 do_install() {
     install -d ${D}${datadir}/${BPN}
     cp -a * ${D}${datadir}/${BPN}
+    # Don't install patches to target
+    rm -rf ${D}${datadir}/${BPN}/patches
 
     install -d ${D}${sysconfdir}/apache2/conf.d
     install -m 0644 ${WORKDIR}/apache.conf ${D}${sysconfdir}/apache2/conf.d/phpmyadmin.conf
Signature · 1 line
1.7.10.4