Filewatcher File Search
FTP Search
  
Directory 
  
Content Search 
   
pkg://afterstep_1.8.11-5woody1_alpha.deb:1382898/postinst  info  downloads

#!/bin/sh

set -e 


update_alt()
{
# arguments: link program priority
  if ! update-alternatives --display "$1" | grep -q "^/usr/bin/$2" ; then
       update-alternatives --install "/usr/bin/$1" "$1" "/usr/bin/$2" "$3" \
		--slave "/usr/share/man/man1/$1.1.gz" "$1.1.gz" \
					"/usr/share/man/man1/$2.1x.gz"
  fi
}

# Automatically added by dh_installdocs
if [ "$1" = "configure" ]; then
	if [ -d /usr/doc -a ! -e /usr/doc/afterstep -a -d /usr/share/doc/afterstep ]; then
		ln -sf ../share/doc/afterstep /usr/doc/afterstep
	fi
fi
# End automatically added section
# Automatically added by dh_installdocs
if [ "$1" = configure ] && command -v install-docs >/dev/null 2>&1; then
	install-docs -i /usr/share/doc-base/afterstep-faq
fi
# End automatically added section
# Automatically added by dh_installmenu
inst=/etc/menu-methods/afterstep
if [ -x /usr/bin/update-menus -a -f $inst ] ; then
	chmod a+x $inst
	update-menus
fi
# End automatically added section


if [ "$1" = "configure" ] ; then
	update_alt x-window-manager afterstep 50
fi

if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "1.8.11-2"  ; then
	rm -rf /etc/X11/afterstep/hookdir

	if [ -f /etc/X11/afterstep/best-alternative-flag ] ; then
		nr=`echo | update-alternatives --config x-window-manager | sed -ne '/afterstep/s/^[*+ ]*\([0-9]*\).*$/\1/p'` || true
		echo "$nr" | update-alternatives --config x-window-manager > /dev/null || true

		rm -f /etc/X11/afterstep/best-alternative-flag
	fi

fi

Results 1 - 1
Help - FTP Sites List - Software Dir.
Searching half a billion files worldwide
© 1997-2009 MARUHN Internet Solutions