This commit is contained in:
midoks
2022-06-26 19:30:13 +08:00
parent ecd7981a19
commit a38dd6a56d
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ jobs:
- name: Install LIB - name: Install LIB
run: | run: |
bash -x scripts/install.sh bash -x scripts/install_dev.sh
- name: Start DEBUG - name: Start DEBUG
run: | run: |
gunicorn -c setting.py app:app gunicorn -c setting.py app:app
+4 -4
View File
@@ -13,10 +13,10 @@ startTime=`date +%s`
_os=`uname` _os=`uname`
echo "use system: ${_os}" echo "use system: ${_os}"
if [ "$EUID" -ne 0 ] # if [ "$EUID" -ne 0 ]
then echo "Please run as root!" # then echo "Please run as root!"
exit # exit
fi # fi
if grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then if grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then
ln -sf /bin/bash /bin/sh ln -sf /bin/bash /bin/sh