#!/usr/bin/perl
#use Mooix::Thing;
#use Mooix::Root;
run sub {
	my $this=shift;
	%_=@_;
	my $oldversion=$_{oldversion} || $this->croak("missing oldversion");
	
	if (51 > $oldversion) {
		if (! $this->defines('flying')) {
			$this->flying(0);
		}
		chmod(0664, $this->fieldfile('flying')) || die "chmod: $!";
	}
	
	return $this->super(@_) unless $_{recursive};
}
