X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=phpbb2-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;h=a37e5a3d691b48f8376d81d52f8f63aef6dd8349;hp=743f6a402dd48cc1dfe6782872b0c5de8cca2694;hb=3bbc31e0502ea347cf8245142add7364eb86da02;hpb=50f9eb909b5264b1ea503e960c224bb8a82fed90 diff --git a/debian/postinst b/debian/postinst index 743f6a4..a37e5a3 100755 --- a/debian/postinst +++ b/debian/postinst @@ -3,6 +3,7 @@ set -e [ "$1" = "configure" ] || exit 0 +[ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx if [ ! -L /etc/apache2/conf.d/phpbb2-cn.conf -a ! -f /etc/apache2/conf.d/phpbb2-cn.conf ]; then ln -sf /etc/phpbb2/apache.conf /etc/apache2/conf.d/phpbb2-cn.conf