summaryrefslogtreecommitdiff
path: root/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb')
-rw-r--r--packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb b/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb
new file mode 100644
index 0000000000..a07d5e36d4
--- /dev/null
+++ b/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb
@@ -0,0 +1,12 @@
+require update-alternatives-dpkg.inc
+
+RPROVIDES_${PN} = "update-alternatives"
+RDEPENDS_${PN} = "perl dpkg"
+
+do_install () {
+ install -d ${D}${sbindir} \
+ ${D}${localstatedir}/dpkg/alternatives \
+ ${D}${sysconfdir}/alternatives
+
+ install -m 0755 scripts/update-alternatives ${D}${sbindir}/update-alternatives
+}