blob: 572629a54edd515220565a3017b94f99ec94034c [file] [log] [blame]
#!/bin/bash
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
source "${PORTAGE_BIN_PATH}"/isolated-functions.sh || exit 1
if [[ $# -lt 1 ]] ; then
__helpers_die "${0##*/}: at least one argument needed"
exit 1
fi
export _E_INSDESTTREE_='/etc/conf.d/'
if ___eapi_has_DESTTREE_INSDESTTREE; then
export INSDESTTREE=${_E_INSDESTTREE_}
fi
if ! ___eapi_doconfd_respects_insopts; then
export INSOPTIONS=-m0644
export DIROPTIONS=""
fi
exec doins "$@"