Add postinstall script to debian package for telemetry notification
This commit is contained in:
parent
49fae29b7b
commit
561f856e36
3 changed files with 16 additions and 0 deletions
|
@ -152,6 +152,7 @@ package_all(){
|
|||
package_absolute_placement
|
||||
package_samples
|
||||
package_docs
|
||||
package_debian
|
||||
}
|
||||
|
||||
generate_all(){
|
||||
|
@ -216,6 +217,12 @@ package_docs(){
|
|||
fi
|
||||
}
|
||||
|
||||
package_debian(){
|
||||
if [[ -d "$ABSOLUTE_PLACEMENT_DIR" ]]; then
|
||||
cp "$ABSOLUTE_PLACEMENT_DIR/postinst" $DEBIAN_DIR/postinst
|
||||
fi
|
||||
}
|
||||
|
||||
## Generation Functions ##
|
||||
generate_config_templates(){
|
||||
python ${SCRIPT_DIR}/scripts/config_template_generator.py $CONFIG $SCRIPT_DIR/templates/debian $DEBIAN_DIR $PACKAGE_NAME $PACKAGE_VERSION
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue