File: choices

package info (click to toggle)
partman-partitioning 108
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,688 kB
  • ctags: 23
  • sloc: sh: 1,199; makefile: 18
file content (19 lines) | stat: -rwxr-xr-x 300 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

. /lib/partman/lib/base.sh

dev=$1
id=$2
cd $dev

open_dialog GET_LABEL_TYPE
read_line label
close_dialog

# Disable on devices where there is no "real" partitioning
if [ "$label" = loop ]; then
	exit 0
fi

db_metaget partman-partitioning/text/delete description
printf "delete\t${RET}\n"