nginx - fix apt preference config without newlines
This commit is contained in:
@@ -49,7 +49,7 @@ step_10() {
|
||||
info "Setup php repository including gpg key"
|
||||
exep curl -fsSL ${sq_keyUrl:?}/nginx_signing.key "|" gpg --dearmor -o "/etc/apt/trusted.gpg.d/nginx-keyring.gpg"
|
||||
addConf -c "deb ${lArch:-} ${sq_repoUrl:?} $(lsb_release -sc) nginx" "/etc/apt/sources.list.d/nginx.list"
|
||||
addConf -s "Package: *\nPin: origin nginx.org\nPin: release o=nginx\nPin-Priority: 900\n" \
|
||||
addConf -es "Package: *\nPin: origin nginx.org\nPin: release o=nginx\nPin-Priority: 900" \
|
||||
/etc/apt/preferences.d/99nginx
|
||||
exe apt update
|
||||
}
|
||||
|
Reference in New Issue
Block a user