fortune: fix removal of men-women database

And get rid of `-f` which masked the failure.
This commit is contained in:
Elliot Cameron 2024-04-25 15:17:50 -04:00 committed by GitHub
parent 10b682b6e5
commit 06156f4427
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
'') ];
postFixup = lib.optionalString (!withOffensive) ''
rm -f $out/share/fortunes/men-women*
rm $out/share/games/fortunes/men-women*
'';
meta = with lib; {