From 8083894e8f92d864bc32cdd42b540beed9c1d9a1 Mon Sep 17 00:00:00 2001 From: Mahdi Hasnat Siyam Date: Mon, 21 Oct 2024 22:48:54 +0600 Subject: [PATCH] fix wrong variable in copy_admin_scripts --- 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