Author: roconnor
Date: Sun Oct 31 04:08:14 2010
New Revision: 24550
URL: https://svn.nixos.org/websvn/nix/?rev=24550&sc=1

Log:
Dwarf Fortress files in dipscript are again opened in read-write mode and need 
to be hacked around.

It's almost tempting to copy the whole data dirctory and put every file in 
read-write mode.

Modified:
   nixpkgs/trunk/pkgs/games/dwarf-fortress/default.nix

Modified: nixpkgs/trunk/pkgs/games/dwarf-fortress/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/games/dwarf-fortress/default.nix Sat Oct 30 21:44:36 
2010        (r24549)
+++ nixpkgs/trunk/pkgs/games/dwarf-fortress/default.nix Sun Oct 31 04:08:14 
2010        (r24550)
@@ -51,9 +51,10 @@
      ln -s \$i \$DF_DIR/data/
     done
 
-    # index initial_movies, announcement, and help files are as of 0.31.16 
opened in read/write mode instead of read-only mode
+    # index initial_movies, announcement, dipscript and help files are as of 
0.31.16 opened in read/write mode instead of read-only mode
     # this is a hack to work around this
-    for i in index initial_movies announcement help
+    # Should I just apply this to the whole data directory?
+    for i in index initial_movies announcement dipscript help
     do
      rm \$DF_DIR/data/\$i
      cp -rf $out/share/df_linux/data/\$i \$DF_DIR/data/
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to