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
+1 -1
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; {