~ubuntu-branches/ubuntu/oneiric/cryptsetup/oneiric

« back to all changes in this revision

Viewing changes to debian/initramfs/cryptroot-hook

  • Committer: Bazaar Package Importer
  • Author(s): Loïc Minier
  • Date: 2009-12-12 11:32:52 UTC
  • Revision ID: james.westby@ubuntu.com-20091212113252-n2l6h2n9svp0vz6e
Tags: 2:1.1.0~rc2-1ubuntu3
cryptroot-hook: Use if [ -n … ] instead of if ! test -z ….

Show diffs side-by-side

added added

removed removed

Lines of Context:
500
500
 
501
501
        if [ "$MODULES" = "most" ]; then
502
502
                archcrypto="$(find "$MODULESDIR/kernel/arch" -type d -name "crypto")"
503
 
                if ! test -z "$archcrypto"; then
 
503
                if [ -n "$archcrypto" ]; then
504
504
                        copy_modules_dir "${archcrypto##*${MODULESDIR}/}"
505
505
                fi
506
506
                copy_modules_dir "kernel/crypto"