~ubuntu-branches/ubuntu/warty/partman-auto/warty

« back to all changes in this revision

Viewing changes to free_space/autopartition/do_option

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2004-08-31 18:05:28 UTC
  • Revision ID: james.westby@ubuntu.com-20040831180528-fbvemacbnztxsra3
Tags: 23ubuntu5
Display top-level partitioning choice again if you back up from it to
the main menu and then return to partman.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
. /lib/partman/definitions.sh
 
6
 
 
7
dev=$2
 
8
freeid=$3
 
9
 
 
10
cd $dev
 
11
 
 
12
open_dialog PARTITION_INFO $freeid
 
13
read_line x1 freeid freesize freetype x2 x3 x4
 
14
close_dialog
 
15
 
 
16
[ "$freeid" ] || exit 1
 
17
 
 
18
autopartition $dev $freeid
 
19
 
 
20
exit 0
 
21