Update install.sh

This commit is contained in:
midoks
2022-11-25 23:52:09 +08:00
parent 0860ffc713
commit b6f7ec11c2
+3 -2
View File
@@ -29,7 +29,7 @@ getBit(){
Install_App()
{
mkdir -p $serverPath/source/gitea
if id git &> /dev/null ;then
@@ -41,8 +41,9 @@ Install_App()
fi
if [ "macos" != "$OSNAME" ];then
if [ -d /home/git ];then
if [ ! -d /home/git ];then
mkdir -p /home/git
chown -R git:git /home/git
fi
fi