Ubuntu install macbuntu,system not supported error

来源:互联网 发布:mp288正版清零软件 编辑:程序博客网 时间:2024/06/03 14:31

编辑install.sh下:找到下面的内容:

chk_system()
{
echo “”
echo “Checking Ubuntu version…”
s=`cat /etc/issue | grep -i “$Ubuntu”`
if [ ! -n "$s" ]; then
echo “Failed. System not supported, script will end here”
echo “To ignore their compatibility with current OS try ./install.sh force”
echo “Exiting…”
exit 1;
fi
echo “Passed”
}

将上面的内容改写成下面内容:

chk_system()
{
echo “Passed”
}

保存文件,然后运行install.sh即可。


原创粉丝点击