X-Git-Url: https://rtime.felk.cvut.cz/gitweb/CanFestival-3.git/blobdiff_plain/21cfcc3993a24d58482dfd2256b3c71c48588596..861827a58922704a013a462f2df2ce7cf718fac4:/debian/canfestival-peak.postinst diff --git a/debian/canfestival-peak.postinst b/debian/canfestival-peak.postinst index df7817d..669e278 100644 --- a/debian/canfestival-peak.postinst +++ b/debian/canfestival-peak.postinst @@ -17,10 +17,21 @@ set -e # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package - +DLL_LIST= +CF_CONFIG=/usr/share/CanFestival-3/objdictgen/canfestival_config.py +CF_CONFIG_TEMP=/usr/share/CanFestival-3/objdictgen/canfestival_config_ori.py case "$1" in configure) - ldconfig + ldconfig + cd /usr/lib + DLL_LIST= + FILES= + for file in libcanfestival_can* + do + DLL_LIST="'$file',""$DLL_LIST" + done + cat $CF_CONFIG_TEMP > $CF_CONFIG + echo "DLL_LIST=[$DLL_LIST]" >> $CF_CONFIG ;; abort-upgrade|abort-remove|abort-deconfigure)