#!@BASH@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: /var/cvsroot/gentoo-src/portage/bin/doinfo,v 1.7 2004/10/04 13:56:50 vapier Exp $

if [[ -z $1 ]] ; then
	vecho "${0##*/}: at least one argument needed"
	exit 1 	
fi

if [[ ! -d ${ED}usr/share/info ]] ; then
	install -d "${ED}usr/share/info" || exit 1
fi

exec install -m0644 "$@" "${ED}usr/share/info"
