mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Merge branch 'master' into dev
This commit is contained in:
+7
-2
@@ -9,13 +9,18 @@ startTime=`date +%s`
|
||||
_os=`uname`
|
||||
echo "use system: ${_os}"
|
||||
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then echo "Please run as root!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then
|
||||
sudo ln -sf /bin/bash /bin/sh
|
||||
ln -sf /bin/bash /bin/sh
|
||||
#sudo dpkg-reconfigure dash
|
||||
fi
|
||||
|
||||
if grep -Eqi "Debian" /etc/issue || grep -Eq "Debian" /etc/*-release; then
|
||||
sudo ln -sf /bin/bash /bin/sh
|
||||
ln -sf /bin/bash /bin/sh
|
||||
fi
|
||||
|
||||
if [ ${_os} == "Darwin" ]; then
|
||||
|
||||
@@ -9,13 +9,18 @@ startTime=`date +%s`
|
||||
_os=`uname`
|
||||
echo "use system: ${_os}"
|
||||
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then echo "Please run as root!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then
|
||||
sudo ln -sf /bin/bash /bin/sh
|
||||
ln -sf /bin/bash /bin/sh
|
||||
#sudo dpkg-reconfigure dash
|
||||
fi
|
||||
|
||||
if grep -Eqi "Debian" /etc/issue || grep -Eq "Debian" /etc/*-release; then
|
||||
sudo ln -sf /bin/bash /bin/sh
|
||||
ln -sf /bin/bash /bin/sh
|
||||
fi
|
||||
|
||||
if [ ${_os} == "Darwin" ]; then
|
||||
|
||||
@@ -9,13 +9,18 @@ startTime=`date +%s`
|
||||
_os=`uname`
|
||||
echo "use system: ${_os}"
|
||||
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then echo "Please run as root!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then
|
||||
sudo ln -sf /bin/bash /bin/sh
|
||||
ln -sf /bin/bash /bin/sh
|
||||
#sudo dpkg-reconfigure dash
|
||||
fi
|
||||
|
||||
if grep -Eqi "Debian" /etc/issue || grep -Eq "Debian" /etc/*-release; then
|
||||
sudo ln -sf /bin/bash /bin/sh
|
||||
ln -sf /bin/bash /bin/sh
|
||||
fi
|
||||
|
||||
if [ ${_os} == "Darwin" ]; then
|
||||
|
||||
Reference in New Issue
Block a user