Compare commits
2 commits
7752aab713
...
c14bc08deb
Author | SHA1 | Date | |
---|---|---|---|
fruchti | c14bc08deb | ||
fruchti | 8a29fc400b |
|
@ -9,7 +9,6 @@
|
||||||
<h1 class="ui icon header title">
|
<h1 class="ui icon header title">
|
||||||
{{AppName}}
|
{{AppName}}
|
||||||
</h1>
|
</h1>
|
||||||
<h2>{{.locale.Tr "startpage.app_desc"}}</h2>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -118,8 +118,7 @@ in
|
||||||
send_email=yes
|
send_email=yes
|
||||||
email_subject="Upgrade failed (exit code $exit_code)"
|
email_subject="Upgrade failed (exit code $exit_code)"
|
||||||
email_body="The system upgrade started at $start_time has failed with exit code $exit_code."
|
email_body="The system upgrade started at $start_time has failed with exit code $exit_code."
|
||||||
fi
|
else
|
||||||
|
|
||||||
echo "→ Determining package differences." | tee -a "$output_file"
|
echo "→ Determining package differences." | tee -a "$output_file"
|
||||||
installed_packages()
|
installed_packages()
|
||||||
{
|
{
|
||||||
|
@ -174,6 +173,7 @@ in
|
||||||
${nixos-rebuild} switch ${toString cfg.flags} 2>&1 | tee -a "$output_file" || exit_code=$?
|
${nixos-rebuild} switch ${toString cfg.flags} 2>&1 | tee -a "$output_file" || exit_code=$?
|
||||||
fi
|
fi
|
||||||
''}
|
''}
|
||||||
|
fi
|
||||||
|
|
||||||
upgrade_output="$(cat "$output_file")"
|
upgrade_output="$(cat "$output_file")"
|
||||||
rm -f "$output_file"
|
rm -f "$output_file"
|
||||||
|
|
Loading…
Reference in a new issue