#!/bin/sh

set -e

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

if [ -e /etc/default/popa3d ]; then
        . /etc/default/popa3d
        case $RUN_STANDALONE in
                yes|1|true)
                        db_set popa3d/standalone true;;
                *)
                        db_set popa3d/standalone false;;
        esac
fi
