diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/system/package/repository/node.def | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/system/package/repository/node.def b/templates/system/package/repository/node.def index 7dc48a3d..e07967ee 100644 --- a/templates/system/package/repository/node.def +++ b/templates/system/package/repository/node.def @@ -1,6 +1,9 @@ tag: type: txt help: Name describing the repository +commit:expression: $VAR(./url/) != ""; "Must configure the repository URL" +commit:expression: $VAR(./distribution/) != ""; "Must configure the repository distribution" +commit:expression: $VAR(./components/) != ""; "Must configure the repository component" update:expression: "sudo sh -c \"touch /etc/apt/sources.list && \ sed -i '\\!# $VAR(@) #!d' /etc/apt/sources.list && \ echo \\\"deb $VAR(url/@)/ $VAR(distribution/@) $VAR(components/@) # $VAR(@) #\\\" >> /etc/apt/sources.list\" " |