On Mon, Jul 04, 2011 at 11:50:58AM +0200, Harald Dunkel wrote:
> I would like to install a private package diverting
> /etc/profile (to support /etc/profile.d). Problem:
> There is no owner for this file.
Stock Debian already supports /etc/profile.d.
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
--
Freedom-based blog/wiki/web hosting: http://www.branchable.com/