From ed3b5c78d24716d49a872fd8326f2750845e6346 Mon Sep 17 00:00:00 2001 From: freesource Date: Tue, 9 Oct 2001 03:03:57 +0000 Subject: [PATCH] Doing the chmod 444 thing with the template, since this writes over it, and only puts things in $HOME. May change the behavior in the future, but was avoiding having too many example templates around. --- add-ons/yard/make-debian-X11/make_debian-X11 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/add-ons/yard/make-debian-X11/make_debian-X11 b/add-ons/yard/make-debian-X11/make_debian-X11 index bec76ff..1ecd0b6 100755 --- a/add-ons/yard/make-debian-X11/make_debian-X11 +++ b/add-ons/yard/make-debian-X11/make_debian-X11 @@ -465,6 +465,7 @@ foreach (@alternatives) { } close(DEBIAN); +system "chmod 444 $template_dir/$debian_yard"; # A good idea print STDERR "\nAll finished making your $debian_yard template.\n"; ######################### @@ -786,8 +787,8 @@ sub start_up { home_builder("$home_yard_replacements/etc"); } - print "Everything is in order, but it never hurts to rebuild swim " . - "with --rebuilddb\n"; + print STDERR "Everything is in order, but it never hurts to rebuild swim " + . "with --rebuilddb if you haven't done it in awhile\n"; } # end start_up