瀏覽代碼

adblock: update 1.0.3

* remove syntax glitch & cosmetics
* probably the last 1.0.x release

Signed-off-by: Dirk Brenken <openwrt@brenken.org>
Dirk Brenken 8 年之前
父節點
當前提交
40a9c0a92d
共有 3 個文件被更改,包括 2 次插入5 次删除
  1. 1
    1
      net/adblock/Makefile
  2. 0
    3
      net/adblock/files/adblock-helper.sh
  3. 1
    1
      net/adblock/files/adblock-update.sh

+ 1
- 1
net/adblock/Makefile 查看文件

@@ -7,7 +7,7 @@
7 7
 include $(TOPDIR)/rules.mk
8 8
 
9 9
 PKG_NAME:=adblock
10
-PKG_VERSION:=1.0.2
10
+PKG_VERSION:=1.0.3
11 11
 PKG_RELEASE:=1
12 12
 PKG_LICENSE:=GPL-3.0+
13 13
 PKG_MAINTAINER:=Dirk Brenken <openwrt@brenken.org>

+ 0
- 3
net/adblock/files/adblock-helper.sh 查看文件

@@ -205,7 +205,6 @@ f_envparse()
205 205
     else
206 206
         network_get_device adb_wandev4 "${adb_wanif4}"
207 207
         network_get_device adb_wandev6 "${adb_wanif6}"
208
-        break
209 208
     fi
210 209
 
211 210
     # get lan ip addresses
@@ -505,8 +504,6 @@ f_space()
505 504
 {
506 505
     local mp="${1}"
507 506
 
508
-    # check relevant mount points in a subshell
509
-    #
510 507
     if [ -d "${mp}" ]
511 508
     then
512 509
         av_space="$(df "${mp}" | tail -n1 | awk '{printf $4}')"

+ 1
- 1
net/adblock/files/adblock-update.sh 查看文件

@@ -36,7 +36,7 @@ fi
36 36
 # get current directory, script- and openwrt version
37 37
 #
38 38
 adb_scriptdir="${0%/*}"
39
-adb_scriptver="1.0.2"
39
+adb_scriptver="1.0.3"
40 40
 openwrt_version="$(cat /etc/openwrt_version)"
41 41
 
42 42
 # source in adblock function library