From a72f75cea04dbd45e3589bd57a68c03db320ba27 Mon Sep 17 00:00:00 2001 From: noraj Date: Thu, 28 Nov 2024 23:15:17 +0100 Subject: [PATCH] remove venv leftovers --- packages/ad-miner/ad-miner.install | 5 +++++ packages/crackql/crackql.install | 4 ++++ packages/dftimewolf/dftimewolf.install | 5 +++++ packages/fireprox/fireprox.install | 4 ++++ packages/lrod/lrod.install | 4 ++++ packages/mobsf/mobsf.install | 4 ++++ packages/netexec/netexec.install | 4 ++++ packages/pentestgpt/pentestgpt.install | 5 +++++ packages/quickscope/quickscope.install | 5 +++++ packages/sstimap/sstimap.install | 4 ++++ 10 files changed, 44 insertions(+) diff --git a/packages/ad-miner/ad-miner.install b/packages/ad-miner/ad-miner.install index d999778f5f1..bb07abb3fe1 100644 --- a/packages/ad-miner/ad-miner.install +++ b/packages/ad-miner/ad-miner.install @@ -8,3 +8,8 @@ post_install() { post_upgrade() { post_install "$@" } + +post_remove() { + # /usr/share/ad-miner/{artifacts,cache,virtualenvs} + rm -r /usr/share/ad-miner +} diff --git a/packages/crackql/crackql.install b/packages/crackql/crackql.install index 3008d71a140..5ae38fb7c61 100644 --- a/packages/crackql/crackql.install +++ b/packages/crackql/crackql.install @@ -12,3 +12,7 @@ post_upgrade() { post_install "$@" } +post_remove() { + # /usr/share/crackql/venv + rm -r /usr/share/crackql +} diff --git a/packages/dftimewolf/dftimewolf.install b/packages/dftimewolf/dftimewolf.install index 1cdfd7c82c0..1d533016246 100644 --- a/packages/dftimewolf/dftimewolf.install +++ b/packages/dftimewolf/dftimewolf.install @@ -8,3 +8,8 @@ post_install() { post_upgrade() { post_install "$@" } + +post_remove() { + # /usr/share/dftimewolf/{artifacts,cache,virtualenvs} + rm -r /usr/share/dftimewolf +} diff --git a/packages/fireprox/fireprox.install b/packages/fireprox/fireprox.install index 053f517933d..20549811f79 100644 --- a/packages/fireprox/fireprox.install +++ b/packages/fireprox/fireprox.install @@ -11,3 +11,7 @@ post_upgrade() { post_install "$@" } +post_remove() { + # /usr/share/fireprox/venv + rm -r /usr/share/fireprox +} diff --git a/packages/lrod/lrod.install b/packages/lrod/lrod.install index 52c7d450c12..7e467461ccd 100644 --- a/packages/lrod/lrod.install +++ b/packages/lrod/lrod.install @@ -11,3 +11,7 @@ post_upgrade() { post_install "$@" } +post_remove() { + # /usr/share/lrod/venv + rm -r /usr/share/lrod +} diff --git a/packages/mobsf/mobsf.install b/packages/mobsf/mobsf.install index 7a049dcef91..8d01df125d1 100644 --- a/packages/mobsf/mobsf.install +++ b/packages/mobsf/mobsf.install @@ -23,3 +23,7 @@ post_upgrade() { pip install --isolated --root="/usr/share/mobsf" --prefix='venv' . } +post_remove() { + # /usr/share/mobsf/venv + rm -r /usr/share/mobsf +} diff --git a/packages/netexec/netexec.install b/packages/netexec/netexec.install index 5a3f95698bb..c5684e74d07 100644 --- a/packages/netexec/netexec.install +++ b/packages/netexec/netexec.install @@ -9,3 +9,7 @@ post_upgrade() { post_install "$@" } +post_remove() { + # /usr/share/netexec/{artifacts,cache,virtualenvs} + rm -r /usr/share/netexec +} diff --git a/packages/pentestgpt/pentestgpt.install b/packages/pentestgpt/pentestgpt.install index e025049c4df..4a306fe3d1f 100644 --- a/packages/pentestgpt/pentestgpt.install +++ b/packages/pentestgpt/pentestgpt.install @@ -11,3 +11,8 @@ post_install() { post_upgrade() { post_install "$@" } + +post_remove() { + # /usr/share/pentestgpt/venv + rm -r /usr/share/pentestgpt +} diff --git a/packages/quickscope/quickscope.install b/packages/quickscope/quickscope.install index f26bac6bc34..10d9ea6923c 100644 --- a/packages/quickscope/quickscope.install +++ b/packages/quickscope/quickscope.install @@ -11,3 +11,8 @@ post_install() { post_upgrade() { post_install "$@" } + +post_remove() { + # /usr/share/quickscope/venv + rm -r /usr/share/quickscope +} diff --git a/packages/sstimap/sstimap.install b/packages/sstimap/sstimap.install index 271f114d028..1d6d82fe144 100644 --- a/packages/sstimap/sstimap.install +++ b/packages/sstimap/sstimap.install @@ -11,3 +11,7 @@ post_upgrade() { post_install "$@" } +post_remove() { + # /usr/share/sstimap/venv + rm -r /usr/share/sstimap +}