diff options
author | Robert Bays <rbays@moresby.(none)> | 2008-01-23 12:02:22 -0800 |
---|---|---|
committer | Robert Bays <rbays@moresby.(none)> | 2008-01-23 12:02:22 -0800 |
commit | 6b6b806ff3ec38d5ec7fbe2ea9c42e9692340bb0 (patch) | |
tree | 00c9e55d8d42d413836374a1033f0dc890a43c5c /templates/system | |
parent | b46b6fb018c7c40a395de5a2523d86d834392b62 (diff) | |
download | vyatta-cfg-system-6b6b806ff3ec38d5ec7fbe2ea9c42e9692340bb0.tar.gz vyatta-cfg-system-6b6b806ff3ec38d5ec7fbe2ea9c42e9692340bb0.zip |
fix component check for bug 1938
Diffstat (limited to 'templates/system')
-rw-r--r-- | templates/system/package/repository/node.def | 4 |
1 files 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\" " |