替换 qBittorrent 为 qBittorrentEE,修复小问题

This commit is contained in:
Hyy2001X
2021-02-27 07:31:29 +08:00
parent f4ca5a2db1
commit 5563761152
3 changed files with 70 additions and 3 deletions
+6 -1
View File
@@ -34,8 +34,13 @@ Diy-Part1() {
ExtraPackages svn other luci-app-socat https://github.com/Lienol/openwrt-package/trunk
ExtraPackages svn other luci-app-usb3disable https://github.com/immortalwrt/immortalwrt/trunk/package/ctcgfw
ExtraPackages svn lean luci-app-kodexplorer https://github.com/immortalwrt/immortalwrt/trunk/package/lean
ExtraPackages svn lean luci-app-filebrowser https://github.com/immortalwrt/immortalwrt/trunk/package/ctcgfw
ExtraPackages svn other luci-app-filebrowser https://github.com/immortalwrt/immortalwrt/trunk/package/ctcgfw
ExtraPackages svn other filebrowser https://github.com/immortalwrt/immortalwrt/trunk/package/ctcgfw
ExtraPackages svn lean luci-app-eqos https://github.com/immortalwrt/immortalwrt/trunk/package/ntlf9t
ExtraPackages svn lean luci-app-qbittorrent https://github.com/immortalwrt/immortalwrt/trunk/package/ctcgfw
rm -rf package/lean/qBittorrent
Replace_File Customize/qBittorrent-EE.mk package/lean/qBittorrent-Enhanced-Edition Makefile
}
Diy-Part2() {
+4 -2
View File
@@ -195,8 +195,10 @@ ExtraPackages() {
REPO_BRANCH=${5}
Mkdir package/${PKG_DIR}
[ -d "package/${PKG_DIR}/${PKG_NAME}" ] && rm -rf package/${PKG_DIR}/${PKG_NAME}
echo "[$(date "+%H:%M:%S")] Removing old package [${PKG_NAME}] ..."
if [ -d "package/${PKG_DIR}/${PKG_NAME}" ];then
echo "[$(date "+%H:%M:%S")] Removing old package [${PKG_NAME}] ..."
rm -rf package/${PKG_DIR}/${PKG_NAME}
fi
[ -d "${PKG_NAME}" ] && rm -rf ${PKG_NAME}
Retry_Times=3
while [ ! -f "${PKG_NAME}/Makefile" ]