summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorweiliang15032021-05-13 02:12:16 +0800
committerweiliang15032021-05-13 02:12:16 +0800
commit50503d2fdd620c8741c395f0f6c47b6ad2304cdf (patch)
tree91cab85375d2165518254a077b9ebe374d268830
parent5cd6511238646def8dfd283c0707a770d3f97f9c (diff)
downloadaur-50503d2fdd620c8741c395f0f6c47b6ad2304cdf.tar.gz
Repare hook
-rw-r--r--PKGBUILD4
-rw-r--r--burp-cn.hook4
2 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1e399956c0b2..f7d7f5db5d88 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: weiliang1503 <weiliang1503@163.com>
pkgname=burpsuite-cnpatch
-pkgver=1.0.0
+pkgver=1.0.1
pkgrel=1
pkgdesc="Chinese patch for burpsuite community version"
arch=('any')
@@ -14,7 +14,7 @@ source=('https://github.com/weiliang1503/burpsuite-cnpak/releases/download/1.0/B
'burp-cn.hook'
'burpsuite-cnpatch.install')
md5sums=('df282917e650c4c2cd1f49e262e6f30f'
- 'd8f33e210b220333a91a02b1dc9dabe3'
+ '56436d4f91f49a1930a00d0c517e187a'
'62d9b205ec48d5bb0003a9fd3d084f97')
noextract=('BurpSuiteCn.jar')
diff --git a/burp-cn.hook b/burp-cn.hook
index 87fb62ca24af..9cad0ebdd412 100644
--- a/burp-cn.hook
+++ b/burp-cn.hook
@@ -2,10 +2,10 @@
Type = File
Operation = Install
Operation = Upgrade
-Target = usr/lib/tmpfiles.d/*.conf
+Target = usr/bin/burpsuite
[Action]
-Description = Creating temporary files...
+Description = Installing Chinese patch
When = PostTransaction
Exec = /bin/sh -c "sed -ie 's/java -jar/java -javaagent:\/usr\/share\/burpsuite\/BurpSuiteCn.jar -jar/g' /usr/bin/burpsuite"
NeedsTargets \ No newline at end of file