frajul-auto-upgrade: restore flake.lock if update failed
This commit is contained in:
@@ -71,6 +71,7 @@ in {
|
||||
echo "success" > "$LAST_STATUS_FILE"
|
||||
else
|
||||
echo "failure" > "$LAST_STATUS_FILE"
|
||||
git -C "${cfg.flakePath}" restore flake.lock
|
||||
fi
|
||||
|
||||
# Write full timestamp
|
||||
|
Reference in New Issue
Block a user