1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-25 17:53:22 -05:00

Now swim runs independently of make_debian-X11 when db isn't built yet .. this

is much nicer, fixed spelling mistake in control.
This commit is contained in:
freesource 2001-10-09 03:36:41 +00:00
parent ed3b5c78d2
commit 6d35c63fdc
2 changed files with 11 additions and 5 deletions

View File

@ -5,7 +5,7 @@ Maintainer: Jonathan Rosenbaum <freesource@users.sourceforge.net>
Build-Depends: debhelper (>> 3.0.0) Build-Depends: debhelper (>> 3.0.0)
Standards-Version: 3.5.2 Standards-Version: 3.5.2
Package: make-debian-x11 Package: make-debian-x11
Architecture: all Architecture: all
Depends: gbootroot (>= 1.2.13), swim, debconf Depends: gbootroot (>= 1.2.13), swim, debconf
Description: BootRoot add-on. 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. 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 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: sources.list:
. .
deb http://prdownloads.sourceforge.net/avd ./ deb http://prdownloads.sourceforge.net/avd ./

View File

@ -54,12 +54,18 @@ my $zoneinfo = get("make-debian-x11/make_debian_x11-zoneinfo");
close(SCRIPT); close(SCRIPT);
} }
else { 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 # Not a perfect approach, but the swim package will be updated
# eventually. # eventually.
print STDERR "Be patient, this will take a little while.\n"; print STDERR "Be patient, building the swim databases will take a little while.\n";
open (SCRIPT, "|make_debian-X11 2&> /dev/null") 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"; or warn "Couldn't open make_debian-X11\n";
print SCRIPT $swim; #print SCRIPT $swim;
print SCRIPT $doc; print SCRIPT $doc;
print SCRIPT $zoneinfo; print SCRIPT $zoneinfo;
close(SCRIPT); close(SCRIPT);