just use group 0 to workaround broken systems #124568
authorMike Frysinger <vapier@gentoo.org>
Thu, 2 Mar 2006 00:18:10 +0000 (00:18 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 2 Mar 2006 00:18:10 +0000 (00:18 -0000)
svn path=/main/trunk/; revision=2803

bin/dobin
bin/dosbin

index 9624c8a405aa579007a1c73c6c426bf81d46544d..634f27731b45da8f3ab4069dc48db1ebeb1f3b38 100755 (executable)
--- a/bin/dobin
+++ b/bin/dobin
@@ -12,16 +12,11 @@ if [[ ! -d ${D}${DESTTREE}/bin ]] ; then
        install -d "${D}${DESTTREE}/bin" || exit 2
 fi
 
-case ${CHOST} in
-       *-freebsd*) group=wheel ;;
-       *)          group=root ;;
-esac
-
 ret=0
 
 for x in "$@" ; do
        if [[ -e ${x} ]] ; then
-               install -m0755 -o root -g ${group} "${x}" "${D}${DESTTREE}/bin"
+               install -m0755 -o root -g 0 "${x}" "${D}${DESTTREE}/bin"
        else
                echo "!!! ${0##*/}: ${x} does not exist" 1>&2
                false
index 0e67275f8754dc106cc8da8ffc255a64c8dbdcfb..426b9319074678b770002e1f6929f667c2e8eae3 100755 (executable)
@@ -12,16 +12,11 @@ if [[ ! -d ${D}${DESTTREE}/sbin ]] ; then
        install -d "${D}${DESTTREE}/sbin" || exit 2
 fi
 
-case ${CHOST} in
-       *-freebsd*) group=wheel ;;
-       *)          group=root ;;
-esac
-
 ret=0
 
 for x in "$@" ; do
        if [[ -e ${x} ]] ; then
-               install -m0755 -o root -g ${group} "${x}" "${D}${DESTTREE}/sbin"
+               install -m0755 -o root -g 0 "${x}" "${D}${DESTTREE}/sbin"
        else
                echo "!!! ${0##*/}: ${x} does not exist" 1>&2
                false