neb/tools/setup/00-apply-skel.sh
2023-10-20 15:27:20 +02:00

11 lines
232 B
Bash

#!/bin/sh
if ! [ -f "/etc/ixvd/version" ]; then
echo "applying overlay..."
cp -r skel/. /
fi
if [ -d "servers/$HOSTNAME/skel" ]; then
echo "applying server specific skeleton..."
cp -r servers/$HOSTNAME/skel/. /
fi