From b0a1879f91d062e0cf763f1380b80ddc5446cb52 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 4 Jul 2004 14:16:21 +0000 Subject: [PATCH] add postinst BKrev: 40e81135Fwd7PWH4FLSBaCroKGWJog --- update-modules/update-modules_1.0.oe | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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} +} + -- 2.39.5