1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-24 01:13:24 -05:00
gbootroot/add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.config

50 lines
1.2 KiB
Plaintext
Raw Normal View History

2001-09-28 04:55:39 +00:00
#!/usr/bin/perl -w
# make-debian-x11.config
# Jonathan Rosenbaum <freesource@users.sourceforge.net>
use strict;
use Debconf::Client::ConfModule ':all';
2001-10-08 17:19:06 +00:00
# fset is just used for testing
#fset("make-debian-x11/close_gbootroot_down","seen","false");
2001-09-28 04:55:39 +00:00
input("medium","make-debian-x11/close_gbootroot_down");
go();
2001-10-08 17:19:06 +00:00
#fset("make-debian-x11/make_debian_x11","seen","false");
2001-09-28 04:55:39 +00:00
input("medium","make-debian-x11/make_debian_x11");
go();
my $answer = get("make-debian-x11/make_debian_x11");
if ($answer eq "true") {
# Check to see if the swim databases have ever been made before
my $swim = "swim -qf /sbin/init|";
my $swim_reply;
open(SWIM,$swim) or warn "Had trouble using swim: $!\n";
while (<SWIM>) {
if ($_ eq "file init is not owned by any package\n") {
2001-10-08 17:19:06 +00:00
#fset("make-debian-x11/make_debian_x11-swim","seen","false");
2001-09-28 04:55:39 +00:00
input("medium","make-debian-x11/make_debian_x11-swim");
go();
}
}
close(SWIM);
2001-10-08 17:19:06 +00:00
#fset("make-debian-x11/make_debian_x11-doc","seen","false");
2001-09-28 04:55:39 +00:00
input("medium","make-debian-x11/make_debian_x11-doc");
go();
2001-10-08 17:19:06 +00:00
#fset("make-debian-x11/make_debian_x11-zoneinfo","seen","false");
2001-09-28 04:55:39 +00:00
input("medium","make-debian-x11/make_debian_x11-zoneinfo");
go();
}
2001-10-08 17:19:06 +00:00
stop();
2001-09-28 04:55:39 +00:00