[Bug 4211] Re: cant install artwiz-cursor package in breezy..showing a "subprocess pre-installation script returned error exit status 2"

deepclutch asadajk at rediffmail.com
Wed Apr 5 22:21:25 UTC 2006


I tried extracting original artwiz-cursor (1:1.3-2).deb and checked in control.tar.gz extracted to get preinst script and removed the line:
update-alternatives --set x-cursor-theme /etc/X11/cursors/core.theme
 
and saved.i also installed build-depends and bdftopcf.now i dont know how to rebuild the package.help..btw i already had xcursor-themes and crystalcursors installed.now my preinst script looks like below:
#!/bin/sh
set -e

# Divert the regular cursor font out of the way, so our font is used
# instead. This has to happen before update-font-dir, which is why it's in
# the preinst here; if this package and xfonts-base are installed at the
# same time, it needs to run before that package is unpacked.
if [ "$1" = install -o "$1" = upgrade ]; then
	dpkg-divert --package artwiz-cursor --add --rename --divert \
		/usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz-artwiz \
		/usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz 

	
fi

----
Thank You
-- 
cant install artwiz-cursor package in breezy..showing a "subprocess pre-installation script returned error exit status 2"
https://launchpad.net/malone/bugs/4211




More information about the universe-bugs mailing list