summaryrefslogtreecommitdiff
path: root/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb
blob: a07d5e36d4c755efef77bea8cfc5494e1ac0e66a (plain)
1
2
3
4
5
6
7
8
9
10
11
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
}