diff options
-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 9c7697f8..b2f0349f 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 "set -x; touch /etc/apt/sources.list && \ +update: 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/@) ]; \ |