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. svn path=/nixpkgs/trunk/; revision=24550
This commit is contained in:
parent
5c2974a0af
commit
497a1476ae
@ -51,9 +51,10 @@ stdenv.mkDerivation rec {
|
|||||||
ln -s \$i \$DF_DIR/data/
|
ln -s \$i \$DF_DIR/data/
|
||||||
done
|
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
|
# 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
|
do
|
||||||
rm \$DF_DIR/data/\$i
|
rm \$DF_DIR/data/\$i
|
||||||
cp -rf $out/share/df_linux/data/\$i \$DF_DIR/data/
|
cp -rf $out/share/df_linux/data/\$i \$DF_DIR/data/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user