Update diy-part1.sh

This commit is contained in:
Hyy2001X 2020-09-15 22:59:24 +08:00 committed by GitHub
parent 28c0a902f0
commit 2c4f89c8a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
Github=https://github.com/Hyy2001X/Openwrt-AutoUpdate
ExtraPackages_GIT() {
[ -d ./package/lean/$1 ] && rm -rf ./package/lean/$1
while [ ! -f $1/Makefile ]
@ -27,5 +29,5 @@ ExtraPackages_SVN luci-app-adguardhome https://github.com/Lienol/openwrt/trunk/p
ExtraPackages_SVN luci-app-smartdns https://github.com/project-openwrt/openwrt/trunk/package/ntlf9t
ExtraPackages_SVN smartdns https://github.com/project-openwrt/openwrt/trunk/package/ntlf9t
[ -d ./Openwrt-AutoUpdate ] && rm -rf ./Openwrt-AutoUpdate
git clone https://github.com/Hyy2001X/Openwrt-AutoUpdate
git clone $Github
mv Openwrt-AutoUpdate/AutoUpdate.sh ./package/base-files/files/bin