Skip to content

Commit

Permalink
fix(schema): place scripts section correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Oct 25, 2024
1 parent d0e1ca2 commit 135dde6
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions rust/agama-lib/share/profile.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,30 @@
"type": "object",
"additionalProperties": false,
"properties": {
"scripts": {
"title": "User-defined installation scripts",
"description": "User-defined scripts to run at different points of the installation",
"type": "object",
"additionalProperties": false,
"properties": {
"pre": {
"title": "Pre-installation scripts",
"description": "User-defined scripts to run before the installation starts",
"type": "array",
"items": {
"$ref": "#/$defs/script"
}
},
"post": {
"title": "Post-installation scripts",
"description": "User-defined scripts to run after the installation finishes",
"type": "array",
"items": {
"$ref": "#/$defs/script"
}
}
}
},
"software": {
"title": "Software settings",
"type": "object",
Expand Down Expand Up @@ -929,30 +953,6 @@
"items": {
"type": "object"
}
},
"scripts": {
"title": "User-defined installation scripts",
"description": "User-defined scripts to run at different points of the installation",
"type": "object",
"additionalProperties": false,
"properties": {
"pre": {
"title": "Pre-installation scripts",
"description": "User-defined scripts to run before the installation starts",
"type": "array",
"items": {
"$ref": "#/$defs/script"
}
},
"post": {
"title": "Post-installation scripts",
"description": "User-defined scripts to run after the installation finishes",
"type": "array",
"items": {
"$ref": "#/$defs/script"
}
}
}
}
},
"$defs": {
Expand Down

0 comments on commit 135dde6

Please sign in to comment.