1 Star 0 Fork 0

mrchromebox / dell-chrome-box

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup-kodi.sh 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
mrchromebox 提交于 2020-01-12 21:09 . 提交脚本
#!/bin/bash
#
# This script will prep supported
# ChromeOS devices for Kodi installation via
# LibreELEC or GalliumOS/Ubuntu
#
# Created by Mr.Chromebox <mrchromebox@gmail.com>
#
# May be freely distributed and modified as needed,
# as long as proper attribution is given.
#
#where the stuff is
script_url="https://raw.githubusercontent.com/MrChromebox/scripts/master/"
#set working dir
cd /tmp
#get support scripts
rm -rf firmware.sh >/dev/null &2>1
rm -rf functions.sh >/dev/null &2>1
rm -rf sources.sh >/dev/null &2>1
rm -rf kodi.sh >/dev/null &2>1
curl -s -L -O ${script_url}firmware.sh
rc0=$?
curl -s -L -O ${script_url}functions.sh
rc1=$?
curl -s -L -O ${script_url}sources.sh
rc2=$?
curl -s -L -O ${script_url}kodi.sh
rc3=$?
if [[ $rc0 -ne 0 || $rc1 -ne 0 || $rc2 -ne 0 || $rc3 -ne 0 ]]; then
echo -e "Error downloading one or more required files; cannot continue"
exit 1
fi
source ./sources.sh
source ./firmware.sh
source ./functions.sh
source ./kodi.sh
#do setup stuff
prelim_setup
[[ $? -ne 0 ]] && exit 1
#show menu
menu_kodi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/mrchromebox/dell.git
git@gitee.com:mrchromebox/dell.git
mrchromebox
dell
dell-chrome-box
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891