dirb: link wordlists to $out/share/wordlists
This commit is contained in:
parent
be4704f84a
commit
29159a7504
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