diff options
Diffstat (limited to 'repo/.hook')
| -rwxr-xr-x | repo/.hook/cinny | 6 | ||||
| -rwxr-xr-x | repo/.hook/liboping | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/repo/.hook/cinny b/repo/.hook/cinny index 9d82b08..46b8c7b 100755 --- a/repo/.hook/cinny +++ b/repo/.hook/cinny @@ -1,5 +1,5 @@ #!/bin/bash -if [ -v http_proxy ]; then - sed -i "/build\(\)/a npm config set proxy socks5:\/\/$http_proxy" PKGBUILD - sed -i "/build\(\)/a npm config set https-proxy socks5:\/\/$http_proxy" PKGBUILD +if [ -v ALL_PROXY ]; then + sed -i "/build\(\)/a npm config set proxy $ALL_PROXY" PKGBUILD + sed -i "/build\(\)/a npm config set https-proxy $ALL_PROXY" PKGBUILD fi
\ No newline at end of file diff --git a/repo/.hook/liboping b/repo/.hook/liboping index 45859b0..cac2010 100755 --- a/repo/.hook/liboping +++ b/repo/.hook/liboping @@ -1,4 +1,6 @@ #!/bin/bash +exit + grep "ed44510859a300ea49331924db0" PKGBUILD && exit cat << EOF | base64 -d > 61.patch ZGlmZiAtLWdpdCBhL3NyYy9vcGluZy5jIGIvc3JjL29waW5nLmMKaW5kZXggODdjYTgxYS4uMjY4 |
