From 89d8f3f6d5a73edcdd1487732e7746111bc3efd3 Mon Sep 17 00:00:00 2001 From: freesource Date: Sun, 14 Oct 2001 20:31:49 +0000 Subject: [PATCH] Making both of these scripts more understandable. --- add-ons/yard/make-debian-X11/make_debian-X11 | 5 ++--- yard/scripts/make_debian | 18 +++++++++++------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/add-ons/yard/make-debian-X11/make_debian-X11 b/add-ons/yard/make-debian-X11/make_debian-X11 index b5343bc..bc1d150 100755 --- a/add-ons/yard/make-debian-X11/make_debian-X11 +++ b/add-ons/yard/make-debian-X11/make_debian-X11 @@ -39,10 +39,9 @@ my $version = "1.0"; # You need file-rc, and you may add other extra stuff (@extra_packages). # These packages were chosen for woody, so you may need something different. # If you add stuff, check for dependencies, empty directories and special -# configuration files -# created by the package scripts. +# configuration files created by the package scripts. # -# You may have to edit the text below STUFF. +# You may have to edit the text below STUFF, i.e. the template. # # Dswim provides excellent information for this task. swim -qT packagename(s) # & swim -ql --df packagename(s) & swim -qc packagename(s) (not all conf files diff --git a/yard/scripts/make_debian b/yard/scripts/make_debian index b61672d..74ce151 100755 --- a/yard/scripts/make_debian +++ b/yard/scripts/make_debian @@ -35,22 +35,24 @@ my $info = "/var/lib/dpkg/info"; my (%alternatives, @alternatives); # for checking for alternatives my %inetd; # checks for inetd binaries. -# You need file-rc, and you may add other extra stuff. These packages were -# chosen for woody, so you may need something different. If you add stuff, -# check for dependencies, empty directories and special configuration files -# created by the package scripts. +# You need file-rc, and you may add other extra stuff (@extra_packages). +# These packages were chosen for woody, so you may need something different. +# If you add stuff, check for dependencies, empty directories and special +# configuration files created by the package scripts. # -# You may have to edit the text below STUFF. +# You may have to edit the text below STUFF, i.e. the template. # -# Swim provides excellent information for this task. swim -qT packagename(s) & -# swim -ql --df packagename(s) & swim -qc packagename(s) (not all conf files +# Dswim provides excellent information for this task. swim -qT packagename(s) +# & swim -ql --df packagename(s) & swim -qc packagename(s) (not all conf files # can be found this way .. read above) so you will want to use # swim -q --scripts packagename(s) or # swim -q --preinst --postinst packagenames(s). +# EDIT HERE my @extra_packages = qw(file-rc swim apt apt-utils debconf nvi sysklogd klogd netbase tcpd net-tools portmap netkit-ping netkit-inetd ifupdown less perl perl-modules libwrap0 ipchains whiptail libnewt0 libpopt0 debconf-utils); +# NEXT EDIT TEMPLATE # Before starting make sure swim and file-rc are present. start_up(); @@ -733,3 +735,5 @@ sub start_up { + +