fix: control and postinst add option1/option2

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

No files matched your search

+2
View File
@@ -6,3 +6,5 @@ Architecture: amd64
Maintainer: Simon Zhangsz
Depends:
Description: OMC
Custom-opt1: ba
Custom-opt2: ba
+8 -1
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