#!/bin/sh user=altlinux home=/home/$user skel=/home/skel test -d "$skel" && { cd "$skel" cp -rp . "$home" chown -R "$user" "$home" } || :