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