From 60c16ebf3dd2093bf52e8448678fb668de6b4878 Mon Sep 17 00:00:00 2001 From: Fernando Herrero <fherrero@iri.upc.edu> Date: Mon, 15 Feb 2021 10:07:37 +0100 Subject: [PATCH] Add new file --- scripts/debian/postinst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 scripts/debian/postinst diff --git a/scripts/debian/postinst b/scripts/debian/postinst new file mode 100644 index 0000000..e820ef5 --- /dev/null +++ b/scripts/debian/postinst @@ -0,0 +1,22 @@ +#!/bin/bash + +set -e + +case "$1" in + configure) + echo " Trying to add library to ldconfig..." + /usr/share/iri/add_lib_to_ld_config.sh -l autonomous_driving_tools -p && echo " Done." || echo " /usr/share/iri/add_lib_to_ld_config.sh doesn't exists. Download it from iriutils and execute it." + + ;; + abort-upgrade) + + ;; + abort-remove) + + ;; + abort-deconfigure) + + ;; +esac + +exit 0 -- GitLab