Unverified Commit 06156f44 authored by Elliot Cameron's avatar Elliot Cameron Committed by GitHub
Browse files

fortune: fix removal of men-women database

And get rid of `-f` which masked the failure.
parent 10b682b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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; {