From 3a4009e01bbb0ca1a72d94ebec748d1e854e0818 Mon Sep 17 00:00:00 2001 From: beni69 <73666440+beni69@users.noreply.github.com> Date: Thu, 7 Oct 2021 20:28:15 +0200 Subject: [PATCH] fix copy home directory --- scripts/postinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh index 06346a5..cf62d53 100644 --- a/scripts/postinstall.sh +++ b/scripts/postinstall.sh @@ -20,10 +20,10 @@ useradd -mG wheel -s /bin/bash diak -p '$6$nI/Ya5wm4s9xzbWL$3bmSK4Y.vqFnxDQCof.s # copy base home directory echo "copying base home directory" -sudo -u diak cp -rvL "$SCRIPT_DIR/../home/*" "/home/diak/" +sudo -u diak cp -rvLT "$SCRIPT_DIR/../home/" "/home/diak/" + # pacman setup pacman-key --init && pacman-key --populate - # install some packages echo "installing packages" # generate mirrorlist