mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update install.sh
This commit is contained in:
@@ -68,8 +68,11 @@ Install_App()
|
|||||||
mkdir -p $serverPath/gitea
|
mkdir -p $serverPath/gitea
|
||||||
mv $serverPath/source/gitea/$file $serverPath/gitea/gitea
|
mv $serverPath/source/gitea/$file $serverPath/gitea/gitea
|
||||||
chmod +x $serverPath/gitea/gitea
|
chmod +x $serverPath/gitea/gitea
|
||||||
|
|
||||||
|
chown -R git:git $serverPath/gitea
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ -d $serverPath/gitea ];then
|
if [ -d $serverPath/gitea ];then
|
||||||
echo $version > $serverPath/gitea/version.pl
|
echo $version > $serverPath/gitea/version.pl
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user