~ubuntu-branches/ubuntu/intrepid/partman-base/intrepid

« back to all changes in this revision

Viewing changes to update.d/detected_filesystem

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2007-10-23 15:38:01 UTC
  • Revision ID: james.westby@ubuntu.com-20071023153801-56gnrn5z5nerik2y
Tags: 110ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Ubiquity integration: If PARTMAN_NO_COMMIT is set, then exit rather
    than running commit.d and finish.d scripts; add a partman-commit
    script; dump extra information to /var/lib/partman/snoop if
    PARTMAN_SNOOP is set.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    if [ "$filesystem" = none ]; then
28
28
        rm -f $id/detected_filesystem
29
29
    else
30
 
        [ -d $id ] || mkdir $id
 
30
        mkdir -p $id
31
31
        echo "$filesystem" >$id/detected_filesystem
32
32
    fi  
33
33
fi