#!/bin/sh . /usr/share/debconf/confmodule dev=$1 num=$2 id=$3 size=$4 type=$5 fs=$6 path=$7 name=$8 cd $dev [ -f $id/method ] || exit 0 method=$(cat $id/method) case "$method" in newworld) db_metaget partman/method_short/newworld description || RET='' printf "${RET:-newworld}" >$id/visual_filesystem >$id/visual_mountpoint ;; esac