]> rtime.felk.cvut.cz Git - CanFestival-3.git/blobdiff - debian/canfestival-peak.postinst
updated : debian package scripts
[CanFestival-3.git] / debian / canfestival-peak.postinst
index df7817d0596cae82204b0bff94702b51b8c43ed1..669e2785968ca1e2e0e474b64d66ff8683d5bf5b 100644 (file)
@@ -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)