mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-26 00:31:09 +02:00
theHarvester: fix https://github.com/pentoo/pentoo-overlay/issues/1543
This commit is contained in:
parent
968674d65e
commit
7fcbc6fdc9
1 changed files with 12 additions and 6 deletions
|
|
@ -68,14 +68,20 @@ src_prepare() {
|
|||
# * between symlinks and directories, which is explicitly forbidden by PMS
|
||||
# * section 13.4 (see bug #326685)
|
||||
|
||||
python_install_all() {
|
||||
dodir /etc
|
||||
mv "${D}$(python_get_sitedir)/etc/theHarvester" "${ED}/etc" || die
|
||||
rm -r "${D}$(python_get_sitedir)/etc" || die
|
||||
dosym /etc/theHarvester "$(python_get_sitedir)/etc/theHarvester"
|
||||
distutils-r1_python_install_all
|
||||
#python_install_all() {
|
||||
# dodir /etc
|
||||
# mv "${D}$(python_get_sitedir)/theHarvester/data/" "${ED}/etc/theHarvester/" || die
|
||||
# rm -r "${D}$(python_get_sitedir)/theHarvester/data" || die
|
||||
# dosym /etc/theHarvester "$(python_get_sitedir)/theHarvester/data"
|
||||
# distutils-r1_python_install_all
|
||||
#}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
dosym "$(python_get_sitedir)/theHarvester/data" /etc/theHarvester
|
||||
}
|
||||
|
||||
|
||||
pkg_preinst() {
|
||||
# Fix the broken hack by keeping /etc/theHarvester as a directory not a symlink
|
||||
# * Package 'net-analyzer/theHarvester-4.3.0' has one or more collisions
|
||||
|
|
|
|||
Loading…
Reference in a new issue