/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to debian/mandos-client.postinst

  • Committer: Teddy Hogeborn
  • Date: 2009-05-17 03:13:49 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090517031349-026hbn7ye1yz8g98
* debian/mandos-client.postinst (update_initramfs): Bug fix: typo.
                                                    Only change
                                                    permissions on
                                                    files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    if dpkg --compare-versions "$2" lt-nl "1.0.10-1"; then
26
26
        # Make old initrd.img files unreadable too, in case they were
27
27
        # created with mandos-client 1.0.8 or older.
28
 
        find /boot -maxdepth 1 -name "initrd.img-*.bak"-print0 \
29
 
            | xargs --null --no-run-if-empty chmod o-r
 
28
        find /boot -maxdepth 1 -type f -name "initrd.img-*.bak" \
 
29
            -print0 | xargs --null --no-run-if-empty chmod o-r
30
30
    fi
31
31
}
32
32