Browse Source

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

is much nicer, fixed spelling mistake in control.
master
freesource 23 years ago
parent
commit
6d35c63fdc
  1. 2
      add-ons/yard/make-debian-X11/pkg/dpkg/control
  2. 12
      add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.postinst

2
add-ons/yard/make-debian-X11/pkg/dpkg/control

@ -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 ./

12
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); 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);

Loading…
Cancel
Save