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 24 years ago
parent
commit
6d35c63fdc
  1. 4
      add-ons/yard/make-debian-X11/pkg/dpkg/control
  2. 12
      add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.postinst

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

@ -5,7 +5,7 @@ Maintainer: Jonathan Rosenbaum <freesource@users.sourceforge.net>
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 ./

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

Loading…
Cancel
Save