~bhavi/ubuntu-app-review-board/lintian-arb_profile

« back to all changes in this revision

Viewing changes to checks/ubuntu/arb/arb-check-bin

  • Committer: Bhavani Shankar
  • Date: 2013-01-01 04:28:07 UTC
  • Revision ID: bhavi@ubuntu.com-20130101042807-clrercfs4aa32mm7
Refine maintainer script check further

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
  # check for maintainer scripts
113
113
  foreach my $filename ($info->sorted_control_index) {
114
114
      next unless $info->control_index ($filename)->is_file;
115
 
      next unless $filename =~ m/(?:postinst|postrm|preinst|prerm)$/;
 
115
      next unless $filename =~ m/;
116
116
  tag 'arb-app-has-disallowed-maintainer-scripts', $filename;
117
117
  }
118
118
  # check for deprecated python installation