Codebase list slay / c4ca428 debian / config
c4ca428

Tree @c4ca428 (Download .tar.gz)

config @c4ca428raw · history · blame

#!/bin/sh -e

# Source debconf library.
. /usr/share/debconf/confmodule

# Ask questions... IF NECESSARY
if test -n "$2"
then
 if test "`echo $2 | sed -e 's/[.-]//g'`" -lt 127 -o ! -e /etc/slay_mode \
	 -o $1 = reconfigure
 then
  db_input low slay/punish || true
  db_input low slay/butthead || true
  db_go
  if test $1 = reconfigure -a -e /etc/slay_mode
  then
   rm /etc/slay_mode
   # this is an extremely ugly hack
  fi
 fi
fi