Merge pull request #266478 from h7x4/add-dirb-wordlists-to-share-wordlists
dirb: link wordlists to `$out/share/wordlists`
This commit is contained in:
commit
cc26fa0167
1 changed files with 2 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue