Filewatcher File Search
FTP Search
  
Directory 
  
Content Search 
   
pkg://vice_1.22-3_mips.deb:4524490/postinst  info  downloads

#!/bin/sh
set -e

#echo $0 "$@"
#set -x

# Automatically added by dh_installdocs
if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
	install-docs -i /usr/share/doc-base/vice
fi
# End automatically added section
# Automatically added by dh_installinfo
if [ "$1" = "configure" ]; then
	install-info --quiet /usr/share/info/vice.info
fi
# End automatically added section
# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
	update-menus
fi
# End automatically added section


if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 0.14.2.70-1; then
    DIVERSIONS=/var/lib/dpkg/diversions
    [ -r "$DIVERSIONS" ] || DIVERSIONS=/var/state/dpkg/diversions
    [ -r "$DIVERSIONS" ] || DIVERSIONS=""
   
    [ "$DIVERSIONS" ] && {
	echo "Attempting to clear out the old diversions..."
	sed -n 's@^\(/usr/lib/vice/.*\)[.]distrib$@\1@p' < $DIVERSIONS | \
	xargs -i dpkg-divert --remove --rename {}
    } || {
	echo "There was a problem removing the diversions (has dpkg changed?);"
	echo "you may want to make sure that there are no (local) diversions"
	echo "under /usr/lib/vice/ .  [sorry!]"
	sleep 5
    }
fi
Results 1 - 1
Help - FTP Sites List - Software Dir.
Searching half a billion files worldwide
© 1997-2009 MARUHN Internet Solutions