diff options
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index 7df8efa050..bbbd881e47 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc +++ b/meta/recipes-devtools/dpkg/dpkg.inc | |||
@@ -46,7 +46,6 @@ do_install_append () { | |||
46 | rm ${D}${bindir}/update-alternatives | 46 | rm ${D}${bindir}/update-alternatives |
47 | sed -i -e 's|^#!.*${bindir}/perl-native.*/perl|#!/usr/bin/env nativeperl|' ${D}${bindir}/dpkg-* | 47 | sed -i -e 's|^#!.*${bindir}/perl-native.*/perl|#!/usr/bin/env nativeperl|' ${D}${bindir}/dpkg-* |
48 | else | 48 | else |
49 | mv ${D}${bindir}/update-alternatives ${D}${sbindir} | ||
50 | sed -i -e 's|^#!.*${bindir}/perl-native.*/perl|#!/usr/bin/env perl|' ${D}${bindir}/dpkg-* | 49 | sed -i -e 's|^#!.*${bindir}/perl-native.*/perl|#!/usr/bin/env perl|' ${D}${bindir}/dpkg-* |
51 | fi | 50 | fi |
52 | 51 | ||
@@ -67,7 +66,7 @@ PROV_class-native = "" | |||
67 | PROVIDES += "${PROV}" | 66 | PROVIDES += "${PROV}" |
68 | 67 | ||
69 | PACKAGES =+ "update-alternatives-dpkg" | 68 | PACKAGES =+ "update-alternatives-dpkg" |
70 | FILES_update-alternatives-dpkg = "${sbindir}/update-alternatives ${localstatedir}/lib/dpkg/alternatives ${sysconfdir}/alternatives" | 69 | FILES_update-alternatives-dpkg = "${bindir}/update-alternatives ${localstatedir}/lib/dpkg/alternatives ${sysconfdir}/alternatives" |
71 | RPROVIDES_update-alternatives-dpkg += "update-alternatives" | 70 | RPROVIDES_update-alternatives-dpkg += "update-alternatives" |
72 | 71 | ||
73 | PACKAGES += "${PN}-perl" | 72 | PACKAGES += "${PN}-perl" |