summaryrefslogtreecommitdiff
path: root/templates/system/package/repository/node.def
blob: e07967eef3acd2256b612da2517771b7a0ebee01 (plain)
1
2
3
4
5
6
7
8
9
10
11
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\" "
delete:expression: "sudo sh -c \"touch /etc/apt/sources.list && \
sed -i '\\!# $VAR(@) #!d' /etc/apt/sources.list\" "