Skip to content

Commit

Permalink
theHarvester: fix #1543
Browse files Browse the repository at this point in the history
  • Loading branch information
blshkv committed Jan 6, 2024
1 parent 968674d commit 7fcbc6f
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions net-analyzer/theHarvester/theHarvester-4.5.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7fcbc6f

Please sign in to comment.