diff options
Diffstat (limited to 'templates/system/package/repository/node.def')
-rw-r--r-- | templates/system/package/repository/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system/package/repository/node.def b/templates/system/package/repository/node.def index b2f0349f..17d5d162 100644 --- a/templates/system/package/repository/node.def +++ b/templates/system/package/repository/node.def @@ -8,7 +8,7 @@ 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 components" -update: sudo bash -c "touch /etc/apt/sources.list && \ +create: sudo bash -c "touch /etc/apt/sources.list && \ sed -i '\\!# $VAR(@) #!d' /etc/apt/sources.list && \ echo \"deb $VAR(url/@) $VAR(distribution/@) $VAR(components/@) # $VAR(@) #\" >> /tmp/$$-sources.list && \ if [ $VAR(password/@) ] || [ $VAR(username/@) ]; \ |