Update diy-part1.sh
This commit is contained in:
		
							parent
							
								
									28c0a902f0
								
							
						
					
					
						commit
						2c4f89c8a7
					
				|  | @ -1,5 +1,7 @@ | ||||||
| #!/bin/bash | #!/bin/bash | ||||||
| 
 | 
 | ||||||
|  | Github=https://github.com/Hyy2001X/Openwrt-AutoUpdate | ||||||
|  | 
 | ||||||
| ExtraPackages_GIT() { | ExtraPackages_GIT() { | ||||||
| [ -d ./package/lean/$1 ] && rm -rf ./package/lean/$1 | [ -d ./package/lean/$1 ] && rm -rf ./package/lean/$1 | ||||||
| while [ ! -f $1/Makefile ] | 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 luci-app-smartdns https://github.com/project-openwrt/openwrt/trunk/package/ntlf9t | ||||||
| ExtraPackages_SVN 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 | [ -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 | mv Openwrt-AutoUpdate/AutoUpdate.sh ./package/base-files/files/bin | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue