Browse Source

Making both of these scripts more understandable.

master
freesource 23 years ago
parent
commit
89d8f3f6d5
  1. 5
      add-ons/yard/make-debian-X11/make_debian-X11
  2. 18
      yard/scripts/make_debian

5
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). # 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. # These packages were chosen for woody, so you may need something different.
# If you add stuff, check for dependencies, empty directories and special # If you add stuff, check for dependencies, empty directories and special
# configuration files # configuration files created by the package scripts.
# 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) # Dswim provides excellent information for this task. swim -qT packagename(s)
# & swim -ql --df packagename(s) & swim -qc packagename(s) (not all conf files # & swim -ql --df packagename(s) & swim -qc packagename(s) (not all conf files

18
yard/scripts/make_debian

@ -35,22 +35,24 @@ my $info = "/var/lib/dpkg/info";
my (%alternatives, @alternatives); # for checking for alternatives my (%alternatives, @alternatives); # for checking for alternatives
my %inetd; # checks for inetd binaries. my %inetd; # checks for inetd binaries.
# You need file-rc, and you may add other extra stuff. These packages were # You need file-rc, and you may add other extra stuff (@extra_packages).
# chosen for woody, so you may need something different. If you add stuff, # These packages were chosen for woody, so you may need something different.
# check for dependencies, empty directories and special configuration files # If you add stuff, check for dependencies, empty directories and special
# 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.
# #
# Swim provides excellent information for this task. swim -qT packagename(s) & # Dswim provides excellent information for this task. swim -qT packagename(s)
# swim -ql --df packagename(s) & swim -qc packagename(s) (not all conf files # & 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 # can be found this way .. read above) so you will want to use
# swim -q --scripts packagename(s) or # swim -q --scripts packagename(s) or
# swim -q --preinst --postinst packagenames(s). # swim -q --preinst --postinst packagenames(s).
# EDIT HERE
my @extra_packages = qw(file-rc swim apt apt-utils debconf nvi sysklogd 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 klogd netbase tcpd net-tools portmap netkit-ping netkit-inetd ifupdown less
perl perl-modules libwrap0 ipchains whiptail libnewt0 libpopt0 debconf-utils); perl perl-modules libwrap0 ipchains whiptail libnewt0 libpopt0 debconf-utils);
# NEXT EDIT TEMPLATE
# Before starting make sure swim and file-rc are present. # Before starting make sure swim and file-rc are present.
start_up(); start_up();
@ -733,3 +735,5 @@ sub start_up {

Loading…
Cancel
Save