From 993f1eb6c5f385b48333ce1f734dc06fb13295d5 Mon Sep 17 00:00:00 2001 From: bash <31279994+hermensbas@users.noreply.github.com> Date: Tue, 27 Aug 2024 14:10:08 +0200 Subject: [PATCH] Update 2_source-update.sh --- script/2_source-update.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/script/2_source-update.sh b/script/2_source-update.sh index e91d861..55a3a3e 100755 --- a/script/2_source-update.sh +++ b/script/2_source-update.sh @@ -35,6 +35,12 @@ then git -C ${ROOT_DIR}/_download/modules/mod-ah-bot reset --hard origin/${AC_MODE_AHBOT_REPO_BRANCH} + ########################################################################################## + # set folder rights to current user + ########################################################################################## + sudo chown -R $USER ${ROOT_DIR} + + echo "Executed..." fi