dirb: link wordlists to $out/share/wordlists

This commit is contained in:
h7x4 2023-11-08 09:11:48 +01:00
parent be4704f84a
commit 29159a7504
No known key found for this signature in database
GPG key ID: 9F2F7D8250F35146

View file

@ -32,8 +32,9 @@ in stdenv.mkDerivation rec {
env.NIX_CFLAGS_COMPILE = "-fcommon";
postInstall = ''
mkdir -p $out/share/dirb/
mkdir -p $out/share/{dirb,wordlists}
cp -r wordlists/ $out/share/dirb/
ln -s $out/share/dirb/wordlists/ $out/share/wordlists/dirb
'';
meta = {