mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Apply some shellcheck suggestions
This commit is contained in:
parent
9cd8cffefc
commit
eff48e84d9
5 changed files with 13 additions and 13 deletions
|
@ -15,7 +15,7 @@ readonly SERVICE_OVERRIDE=${SERVICE_DEST}.d/override.conf
|
|||
|
||||
create_systemd_override() {
|
||||
header "Configuring proxy for the nix-daemon service"
|
||||
_sudo "create directory for systemd unit override" mkdir -p "$(dirname $SERVICE_OVERRIDE)"
|
||||
_sudo "create directory for systemd unit override" mkdir -p "$(dirname "$SERVICE_OVERRIDE")"
|
||||
cat <<EOF | _sudo "create systemd unit override" tee "$SERVICE_OVERRIDE"
|
||||
[Service]
|
||||
$1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue