--- cf.schmorp.de/server/utils/cfutil.in 2007/07/12 08:40:14 1.38 +++ cf.schmorp.de/server/utils/cfutil.in 2007/07/16 19:43:33 1.40 @@ -94,7 +94,7 @@ exit 1 unless $FORCE; } - system $RSYNC, "-av", "$path/.", "$DATADIR/maps/.", "--delete", "--exclude", "CVS", "--delete-excluded" + system $RSYNC, "-av", "--chmod=u=rwX,go=rX", "$path/.", "$DATADIR/maps/.", "--delete", "--exclude", "CVS", "--delete-excluded" and die "map installation failed.\n"; print "maps installed successfully.\n"; @@ -432,7 +432,7 @@ push @trs, [$path, $file]; } elsif ($file =~ /\.arc$/) { push @arc, [$path, $file]; - } elsif ($file =~ /\.(ogg|res)$/) { + } elsif ($file =~ /\.(ogg|jpg|res)$/) { push @res, [$path, $file]; } else { warn "ignoring $path/$file\n" if $VERBOSE >= 3;