ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/utils/cfutil.in
(Generate patch)

Comparing deliantra/server/utils/cfutil.in (file contents):
Revision 1.14 by root, Wed Mar 14 00:04:59 2007 UTC vs.
Revision 1.16 by root, Wed Mar 14 15:47:21 2007 UTC

75 warn "'$path' does not look like a maps directory ('regions' file is missing).\n"; 75 warn "'$path' does not look like a maps directory ('regions' file is missing).\n";
76 exit 1 unless $FORCE; 76 exit 1 unless $FORCE;
77 } 77 }
78 78
79 system $RSYNC, "-av", "$path/.", "$DATADIR/maps/.", "--delete", "--exclude", "CVS", "--delete-excluded" 79 system $RSYNC, "-av", "$path/.", "$DATADIR/maps/.", "--delete", "--exclude", "CVS", "--delete-excluded"
80 or die "map installation failed.\n"; 80 and die "map installation failed.\n";
81 81
82 print "maps installed successfully.\n"; 82 print "maps installed successfully.\n";
83} 83}
84 84
85{ 85{
360 } 360 }
361 361
362 open my $fh, ">:perlio", "$DATADIR/faces~" 362 open my $fh, ">:perlio", "$DATADIR/faces~"
363 or die "$DATADIR/faces~: $!"; 363 or die "$DATADIR/faces~: $!";
364 364
365 $FACEINFO{""} = { version => 1};
365 print $fh Storable::nfreeze \%FACEINFO; 366 print $fh Storable::nfreeze \%FACEINFO;
366 } 367 }
367 368
368 for (qw(archetypes faces animations treasures)) { 369 for (qw(archetypes faces animations treasures)) {
369 chmod 0644, "$DATADIR/$_~"; 370 chmod 0644, "$DATADIR/$_~";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines