Browse Source

Improved git command to hide warnging on screen

release/v3.3.0
gau1991 10 years ago
parent
commit
ee3ef84034
  1. 4
      install

4
install

@ -396,7 +396,7 @@ function ee_git_init()
if [ ! -d /etc/nginx/.git ]; then if [ ! -d /etc/nginx/.git ]; then
git init &>> /dev/null git init &>> /dev/null
fi fi
git add . git add -A .
git commit -am "Updated Nginx" > /dev/null git commit -am "Updated Nginx" > /dev/null
fi fi
# EasyEngine under git version control # EasyEngine under git version control
@ -404,7 +404,7 @@ function ee_git_init()
if [ ! -d /etc/ee/.git ]; then if [ ! -d /etc/ee/.git ]; then
git init > /dev/null git init > /dev/null
fi fi
git add . git add -A .
git commit -am "Installed/Updated to EasyEngine 3.x" &>> /dev/null git commit -am "Installed/Updated to EasyEngine 3.x" &>> /dev/null
} }

Loading…
Cancel
Save