From: Phil Blundell Date: Sun, 4 Jul 2004 14:16:21 +0000 (+0000) Subject: add postinst X-Git-Tag: Release-2010-05/1~18353 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0a1879f91d062e0cf763f1380b80ddc5446cb52;p=openembedded.git add postinst BKrev: 40e81135Fwd7PWH4FLSBaCroKGWJog --- diff --git a/update-modules/update-modules_1.0.oe b/update-modules/update-modules_1.0.oe index e69de29bb2..1ea2f4e520 100644 --- a/update-modules/update-modules_1.0.oe +++ b/update-modules/update-modules_1.0.oe @@ -0,0 +1,18 @@ +DESCRIPTION = "Script to manage module configuration files" +PACKAGE_ARCH = "all" +PR = "r1" + +SRC_URI = "file://update-modules" + +pkg_postinst() { +if [ "x$D" != "x" ]; then + exit 1 +fi +update-modules +} + +do_install() { + install -d ${D}${sbindir} + install ${WORKDIR}/update-modules ${D}${sbindir} +} +