Browse Source

This makes make_debian-X11 .. make-debian-x11 happy with debconf.

master
freesource 23 years ago
parent
commit
5a959ed373
  1. 11
      add-ons/yard/make-debian-X11/make_debian-X11
  2. 2
      add-ons/yard/make-debian-X11/replacements/root/setup-debian-X11

11
add-ons/yard/make-debian-X11/make_debian-X11

@ -55,7 +55,7 @@ perl perl-modules libwrap0 ipchains whiptail libnewt0 libpopt0 debconf-utils
binutils bzip2 file libbz2-1.0 libfreetype6 libglib1.2 libgtk-perl binutils bzip2 file libbz2-1.0 libfreetype6 libglib1.2 libgtk-perl
libgtk1.2 make xfonts-base xfree86-common xlibmesa3 xlibs libgtk1.2 make xfonts-base xfree86-common xlibmesa3 xlibs
xserver-common xterm xutils zlib1g libgdbmg1 libxaw7 gbootroot xserver-common xterm xutils zlib1g libgdbmg1 libxaw7 gbootroot
flwm libfltk1 xnest make-debian-x11); flwm libfltk1 xnest make-debian-x11 ash);
# -------------------------------------------------------------------- # --------------------------------------------------------------------
# DIRECTIONS # DIRECTIONS
@ -513,8 +513,17 @@ while (<STATUS>) { # keep the order
# Deal with names with + # Deal with names with +
$rp =~ s/\+/\\+/g if $rp !~ /\\+/g; $rp =~ s/\+/\\+/g if $rp !~ /\\+/g;
if ($stat2 =~ /^Package: $rp$/) { if ($stat2 =~ /^Package: $rp$/) {
# For debian packaging
if ($rp eq "make-debian-x11") {
if ($stat =~ /unpacked/) {
$stat =~ s/unpacked/installed/;
}
print NEW_STATUS $stat; print NEW_STATUS $stat;
} }
else {
print NEW_STATUS $stat;
}
}
} }
} }
close(NEW_STATUS); close(NEW_STATUS);

2
add-ons/yard/make-debian-X11/replacements/root/setup-debian-X11

@ -17,7 +17,7 @@ chgrp user /home/user/*
chown user /home/user/.* chown user /home/user/.*
chgrp user /home/user/.* chgrp user /home/user/.*
swim --initdb # swim --initdb
# Generally a good idea since user-mode-linux doesn't run within itself. # Generally a good idea since user-mode-linux doesn't run within itself.
#rm /usr/bin/uml_* #rm /usr/bin/uml_*

Loading…
Cancel
Save