debian/canfestival-peak.postinst
changeset 533 4d50417dab22
parent 346 59dbdcc99264
child 579 3126da40d469
equal deleted inserted replaced
532:1ca55c717660 533:4d50417dab22
    15 #          <failed-install-package> <version> `removing'
    15 #          <failed-install-package> <version> `removing'
    16 #          <conflicting-package> <version>
    16 #          <conflicting-package> <version>
    17 # for details, see http://www.debian.org/doc/debian-policy/ or
    17 # for details, see http://www.debian.org/doc/debian-policy/ or
    18 # the debian-policy package
    18 # the debian-policy package
    19 
    19 
    20 
    20 DLL_LIST=
       
    21 CF_CONFIG=/usr/share/CanFestival-3/objdictgen/canfestival_config.py
       
    22 CF_CONFIG_TEMP=/usr/share/CanFestival-3/objdictgen/canfestival_config_ori.py
    21 case "$1" in
    23 case "$1" in
    22     configure)
    24     configure)
    23 	ldconfig    
    25     ldconfig
       
    26     cd /usr/lib
       
    27     DLL_LIST=
       
    28 	FILES=
       
    29 	for file in libcanfestival_can*
       
    30 	do
       
    31 		DLL_LIST="'$file',""$DLL_LIST"
       
    32 	done
       
    33 	cat $CF_CONFIG_TEMP > $CF_CONFIG
       
    34 	echo "DLL_LIST=[$DLL_LIST]" >> $CF_CONFIG
    24 	;;
    35 	;;
    25 	
    36 	
    26     abort-upgrade|abort-remove|abort-deconfigure)
    37     abort-upgrade|abort-remove|abort-deconfigure)
    27     ;;
    38     ;;
    28 
    39