From 5a959ed3736be1229c8932ded6868df1657eab00 Mon Sep 17 00:00:00 2001 From: freesource Date: Mon, 8 Oct 2001 19:21:31 +0000 Subject: [PATCH] This makes make_debian-X11 .. make-debian-x11 happy with debconf. --- add-ons/yard/make-debian-X11/make_debian-X11 | 13 +++++++++++-- .../replacements/root/setup-debian-X11 | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/add-ons/yard/make-debian-X11/make_debian-X11 b/add-ons/yard/make-debian-X11/make_debian-X11 index b746dad..54179ba 100755 --- a/add-ons/yard/make-debian-X11/make_debian-X11 +++ b/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 libgtk1.2 make xfonts-base xfree86-common xlibmesa3 xlibs xserver-common xterm xutils zlib1g libgdbmg1 libxaw7 gbootroot -flwm libfltk1 xnest make-debian-x11); +flwm libfltk1 xnest make-debian-x11 ash); # -------------------------------------------------------------------- # DIRECTIONS @@ -513,7 +513,16 @@ while () { # keep the order # Deal with names with + $rp =~ s/\+/\\+/g if $rp !~ /\\+/g; if ($stat2 =~ /^Package: $rp$/) { - print NEW_STATUS $stat; + # For debian packaging + if ($rp eq "make-debian-x11") { + if ($stat =~ /unpacked/) { + $stat =~ s/unpacked/installed/; + } + print NEW_STATUS $stat; + } + else { + print NEW_STATUS $stat; + } } } } diff --git a/add-ons/yard/make-debian-X11/replacements/root/setup-debian-X11 b/add-ons/yard/make-debian-X11/replacements/root/setup-debian-X11 index eaac042..5a927f0 100755 --- a/add-ons/yard/make-debian-X11/replacements/root/setup-debian-X11 +++ b/add-ons/yard/make-debian-X11/replacements/root/setup-debian-X11 @@ -17,7 +17,7 @@ chgrp user /home/user/* chown user /home/user/.* chgrp user /home/user/.* -swim --initdb +# swim --initdb # Generally a good idea since user-mode-linux doesn't run within itself. #rm /usr/bin/uml_*