diff --git a/debbuild/22.04/DEBIAN/control b/debbuild/22.04/DEBIAN/control index 5b22e00..3b6aaa7 100644 --- a/debbuild/22.04/DEBIAN/control +++ b/debbuild/22.04/DEBIAN/control @@ -6,3 +6,5 @@ Architecture: amd64 Maintainer: Simon Zhangsz Depends: Description: OMC +Custom-opt1: ba +Custom-opt2: ba diff --git a/debbuild/22.04/DEBIAN/postinst b/debbuild/22.04/DEBIAN/postinst index ce09d5b..792af32 100644 --- a/debbuild/22.04/DEBIAN/postinst +++ b/debbuild/22.04/DEBIAN/postinst @@ -1,4 +1,11 @@ -# !/bin/sh +# !/bin/bash +set -e + +custom_opt1=$1 +custom_opt2=$2 + +echo "Custom option 1: $custom_opt1" +echo "Custom option 2: $custom_opt2" RedisConfDir=/usr/local/db/bin/conf OMCEtcDir=/usr/local/omc/etc