X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;ds=sidebyside;f=debian%2Fpostinst;h=4a877449b788224c79e74d946dd4653f4851089d;hb=0e51036b0e700e1767ac092c0cb615e25f82f529;hp=9f457b5f1f9d2eaad7cfa2e9c0bd8639f601ffae;hpb=89cead69c120de006782e32853f5b975631d7ea2;p=openssh-cn.git diff --git a/debian/postinst b/debian/postinst index 9f457b5..4a87744 100755 --- a/debian/postinst +++ b/debian/postinst @@ -1,7 +1,10 @@ #!/bin/sh set -e + [ "$1" = "configure" ] || exit 0 +[ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx + # Load CARNet Tools . /usr/share/carnet-tools/functions.sh @@ -23,3 +26,5 @@ if [ -x /usr/sbin/invoke-rc.d ]; then else [ -x /etc/init.d/ssh ] && /etc/init.d/ssh restart fi + +#DEBHELPER#