fix: make sure questions.yaml includes are actually included
This commit is contained in:
@@ -24,4 +24,4 @@ name: testbed
|
|||||||
sources:
|
sources:
|
||||||
- https://github.com/Jackett/Jackett
|
- https://github.com/Jackett/Jackett
|
||||||
type: application
|
type: application
|
||||||
version: 7.0.13
|
version: 7.0.14
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ include_questions(){
|
|||||||
# Replace # Include{VPN} with the standard VPN codesnippet
|
# Replace # Include{VPN} with the standard VPN codesnippet
|
||||||
awk 'NR==FNR { a[n++]=$0; next }
|
awk 'NR==FNR { a[n++]=$0; next }
|
||||||
/# Include{VPN}/ { for (i=0;i<n;++i) print a[i]; next }
|
/# Include{VPN}/ { for (i=0;i<n;++i) print a[i]; next }
|
||||||
1' templates/questions/vpn.yaml ${target}/questions.yaml
|
1' templates/questions/vpn.yaml ${target}/questions.yaml > tmp && mv tmp ${target}/questions.yaml
|
||||||
}
|
}
|
||||||
|
|
||||||
clean_catalog() {
|
clean_catalog() {
|
||||||
|
|||||||
Reference in New Issue
Block a user