From 29b7f3c5e148af6aa3a6a3675d20efdc246a4104 Mon Sep 17 00:00:00 2001 From: Mahdi Hasnat Siyam <44502454+mahdihasnat@users.noreply.github.com> Date: Mon, 21 Oct 2024 23:04:14 +0600 Subject: [PATCH] fix wrong variable in copy_admin_scripts (#11) --- scripts/copy_admin_scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/copy_admin_scripts.sh b/scripts/copy_admin_scripts.sh index c0d3721..4e66a14 100755 --- a/scripts/copy_admin_scripts.sh +++ b/scripts/copy_admin_scripts.sh @@ -9,7 +9,7 @@ cd $ADMIN_SCRIPTS_DIR homedir="/home/$ADMIN_USER" for file in *; do cp -rv $file "$homedir/" - chown -R -c -v $user:$user "$homedir/$file" + chown -R -c -v $ADMIN_USER:$ADMIN_USER "$homedir/$file" chmod -R -v 750 "$homedir/$file" done