fix: control and postinst add option1/option2
This commit is contained in:
@@ -6,3 +6,5 @@ Architecture: amd64
|
|||||||
Maintainer: Simon Zhangsz
|
Maintainer: Simon Zhangsz
|
||||||
Depends:
|
Depends:
|
||||||
Description: OMC
|
Description: OMC
|
||||||
|
Custom-opt1: ba
|
||||||
|
Custom-opt2: ba
|
||||||
|
|||||||
@@ -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
|
RedisConfDir=/usr/local/db/bin/conf
|
||||||
OMCEtcDir=/usr/local/omc/etc
|
OMCEtcDir=/usr/local/omc/etc
|
||||||
|
|||||||
Reference in New Issue
Block a user