From f90fec182c0cca6ff8713af791ba73dbcdaf4f9b Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 5 Oct 2022 20:39:55 +0800 Subject: [PATCH] Update install.sh --- plugins/gitea/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/gitea/install.sh b/plugins/gitea/install.sh index 607fdf68c..d9dbd926d 100755 --- a/plugins/gitea/install.sh +++ b/plugins/gitea/install.sh @@ -68,8 +68,11 @@ Install_App() mkdir -p $serverPath/gitea mv $serverPath/source/gitea/$file $serverPath/gitea/gitea chmod +x $serverPath/gitea/gitea + + chown -R git:git $serverPath/gitea fi + if [ -d $serverPath/gitea ];then echo $version > $serverPath/gitea/version.pl