#!/bin/sh # This command generate a Key Server and all certificates that use lliurex-pki # as llxcfg-key-scripts if [ "$1" = "upgrade" ]; then if dpkg --compare-versions "$2" lt 0.8; then lliurex-pki -k -o || true fi fi lliurex-pki -k || echo "Generation of Initial CA failed, please check your configuration, and then exec 'lliurex-pki -ko'" #DEBHELPER#