svn path=/main/branches/prefix/; revision=2664
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 @rootuser@ -g @wheelgroup@ "${x}" "${D}${DESTTREE}/bin"
else
echo "!!! ${0##*/}: ${x} does not exist" 1>&2
false
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 @rootuser@ -g @wheelgroup@ "${x}" "${D}${DESTTREE}/sbin"
else
echo "!!! ${0##*/}: ${x} does not exist" 1>&2
false
sync_local() {
echo Syncing local tree...
if type -p tarsync &> /dev/null; then
- if ! tarsync "${FILE}" "${PORTDIR}" -v -s 1 -o @portageuser@ -g @portagegroup@ -e /distfiles -e /packages -e /local; then
+ if ! tarsync "${FILE}" "${PORTDIR}" -v -s 1 -o @rootuser@ -g @wheelgroup@ -e /distfiles -e /packages -e /local; then
echo "tarsync failed; tarball is corrupt?"
exit 1;
fi