2006-05-08 21:26:46 by steve
Actually copy dotfiles from the skel directory. *sigh*
This commit is contained in:
@@ -8,7 +8,10 @@
|
||||
prefix=$1
|
||||
|
||||
if [ -d /etc/xen-tools/skel ]; then
|
||||
cp -RL /etc/xen-tools/skel/* ${prefix}/
|
||||
#
|
||||
# Copy everything from skel directory, even "dotfiles".
|
||||
#
|
||||
(cd /etc/xen-tools/skel; tar -cf - . ) | (cd ${prefix}/; tar -xpf -)
|
||||
else
|
||||
echo "skel directory not present, ignoring."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user