diff --git a/add-ons/yard/make-debian-X11/pkg/dpkg/control b/add-ons/yard/make-debian-X11/pkg/dpkg/control index 26155c2..f14e5ed 100644 --- a/add-ons/yard/make-debian-X11/pkg/dpkg/control +++ b/add-ons/yard/make-debian-X11/pkg/dpkg/control @@ -5,7 +5,7 @@ Maintainer: Jonathan Rosenbaum Build-Depends: debhelper (>> 3.0.0) Standards-Version: 3.5.2 -Package: make-debian-x11 +Package: make-debian-x11 Architecture: all Depends: gbootroot (>= 1.2.13), swim, debconf Description: BootRoot add-on. @@ -14,7 +14,7 @@ Description: BootRoot add-on. includes X11, and the ability to run gBootRoot from within its own creation. . See the script for information on how to customize it to your own - specifications. This package depends on swim. Add this line to you + specifications. This package depends on swim. Add this line to your sources.list: . deb http://prdownloads.sourceforge.net/avd ./ diff --git a/add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.postinst b/add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.postinst index ef90eb3..4285f93 100755 --- a/add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.postinst +++ b/add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.postinst @@ -54,12 +54,18 @@ my $zoneinfo = get("make-debian-x11/make_debian_x11-zoneinfo"); close(SCRIPT); } else { + # Will run swim --initdb first rather then trying to interact + # with the make_debian-X11 script. # Not a perfect approach, but the swim package will be updated # eventually. - print STDERR "Be patient, this will take a little while.\n"; - open (SCRIPT, "|make_debian-X11 2&> /dev/null") + print STDERR "Be patient, building the swim databases will take a little while.\n"; + system "swim --initdb 2&> /dev/null"; + + # Now continue with the script. + #open (SCRIPT, "|make_debian-X11 2&> /dev/null") + open (SCRIPT, "|make_debian-X11") or warn "Couldn't open make_debian-X11\n"; - print SCRIPT $swim; + #print SCRIPT $swim; print SCRIPT $doc; print SCRIPT $zoneinfo; close(SCRIPT);