Compare commits
1 Commits
23155d57b7
...
master
Author | SHA1 | Date | |
---|---|---|---|
12466b4426 |
@@ -64,6 +64,9 @@ in {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo $$ > "$LOCK_FILE"
|
||||
trap 'rm -f "$LOCK_FILE"' EXIT
|
||||
|
||||
if /run/current-system/sw/bin/nix flake update --flake "${cfg.flakePath}" && /run/current-system/sw/bin/nixos-rebuild switch --flake "${cfg.flakePath}"; then
|
||||
echo "success" > "$LAST_STATUS_FILE"
|
||||
else
|
||||
|
Reference in New Issue
Block a user