mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-30 10:41:01 +02:00
burpsuite: fix bin script
This commit is contained in:
parent
b44fddc668
commit
5725dd88c9
1 changed files with 9 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
MY_P="burpsuite_community_v${PV}.jar"
|
||||
|
||||
|
|
@ -28,6 +28,11 @@ src_install() {
|
|||
insinto /opt/"${PN}"
|
||||
doins "${MY_P}"
|
||||
|
||||
echo -e "#!/bin/sh\njava -jar /opt/${PN}/${MY_P} >/dev/null 2>&1 &\n" > "${PN}"
|
||||
dobin ${PN}
|
||||
# echo -e "#!/bin/sh\njava -Xmx2G -jar /opt/${PN}/${MY_P} >/dev/null 2>&1 &\n" > "${PN}"
|
||||
# dobin ${PN}
|
||||
|
||||
newbin - ${PN} <<-EOF
|
||||
#!/bin/sh
|
||||
java -Xmx2G -jar /opt/${PN}/${MY_P} >/dev/null 2>&1 &
|
||||
EOF
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue