summaryrefslogtreecommitdiff
path: root/packages/update-alternatives/update-alternatives-dpkg-native_1.13.22.bb
blob: 6c193f9603484f1dbcdd7081e3dfe9fc5e39a1f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require update-alternatives-dpkg.inc
inherit native

PROVIDES += "virtual/update-alternatives-native"
DEPENDS += "perl-native dpkg-native"
DEFAULT_PREFERENCE = "-1"

do_stage () {
    install -d ${sbindir} \
               ${localstatedir}/dpkg/alternatives \
               ${sysconfdir}/alternatives

    install -m 0755 scripts/update-alternatives ${sbindir}/update-alternatives
}