From 6b6b806ff3ec38d5ec7fbe2ea9c42e9692340bb0 Mon Sep 17 00:00:00 2001 From: Robert Bays Date: Wed, 23 Jan 2008 12:02:22 -0800 Subject: fix component check for bug 1938 --- templates/system/package/repository/node.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/system/package/repository/node.def b/templates/system/package/repository/node.def index 75a61e55..d0c89e28 100644 --- a/templates/system/package/repository/node.def +++ b/templates/system/package/repository/node.def @@ -3,9 +3,9 @@ type: txt help: "Name describing the repository" commit: $(./url/) != ""; "Must configure the repository URL" commit: $(./distribution/) != ""; "Must configure the repository distribution" -commit: $(./component/) != ""; "Must configure the repository component" +commit: $(./components/) != ""; "Must configure the repository component" update: "sudo sh -c \"touch /etc/apt/sources.list && \ sed -i '\\!# $(@) #!d' /etc/apt/sources.list && \ -echo \\\"deb $(url/@)/ $(distribution/@) $(component/@) # $(@) #\\\" >> /etc/apt/sources.list\" " +echo \\\"deb $(url/@)/ $(distribution/@) $(components/@) # $(@) #\\\" >> /etc/apt/sources.list\" " delete: "sudo sh -c \"touch /etc/apt/sources.list && \ sed -i '\\!# $(@) #!d' /etc/apt/sources.list\" " -- cgit v1.2.3