#!/usr/bin/env bash

# omarchy:summary=Print when system packages were last upgraded

# Based: dpkg's log instead of pacman's.
date -d "$(grep ' upgrade ' /var/log/dpkg.log 2>/dev/null | tail -1 | cut -d' ' -f1,2)" "+%A, %B %d %Y at %H:%M"
