7 local question default answer
11 if [ -z "${PACKAGE_BUILDING}" ]; then
12 read -p "${question} [${default}]? " answer
14 if [ x${answer} = x ]; then
21 local dflt question answer
26 answer=$(ask "${question}" "${dflt}")
31 echo "Please answer yes or no."
40 if yesno "Do you want me to remove group \"${g}\"" y; then
44 if yesno "Do you want me to remove user \"${u}\"" y; then
51 if [ x"$2" = xDEINSTALL ]; then
52 if [ ! -n "$BATCH" ]; then
53 if /bin/ps -axc | /usr/bin/grep -q saned; then
54 if yesno "There are some SANE processes running. Shall I kill them" y; then
55 ${PKG_PREFIX}/etc/rc.d/saned stop
58 echo "OK ... I hope you know what you are doing."