1
0

fix: control and postinst add option1/option2

This commit is contained in:
2023-12-20 19:44:59 +08:00
parent ff2ace4df8
commit e73bb75dfc
2 changed files with 10 additions and 1 deletions

View File

@@ -6,3 +6,5 @@ Architecture: amd64
Maintainer: Simon Zhangsz
Depends:
Description: OMC
Custom-opt1: ba
Custom-opt2: ba

View File

@@ -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