#!/bin/bash
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: doinfo 5555 2007-01-11 18:50:51Z vapier $

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

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

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