Merge pull request #266478 from h7x4/add-dirb-wordlists-to-share-wordlists

dirb: link wordlists to `$out/share/wordlists`
This commit is contained in:
Peder Bergebakken Sundt 2023-12-04 01:15:47 +01:00 committed by GitHub
commit cc26fa0167
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = {