1
0
Fork 0

Fixing conditional

This commit is contained in:
Malte Brandy 2021-01-07 06:10:57 +01:00
parent 7f83f3f885
commit 0b0287a52d

View file

@ -41,7 +41,7 @@ in {
services.laminar.cfgFiles.jobs = {
"test-config.run" = pkgs.writeShellScript "test-config.run" ''
${common}
if [[ "$BRANCH" == "refs/head/master" ]]; then
if [[ "$BRANCH" == "refs/heads/master" ]]; then
${pkgs.test-config}/bin/test-config
/run/wrappers/bin/sudo ${update-config}
fi