dotfiles/dot_local/scripts/executable_system-upgrade.sh

9 lines
207 B
Bash

#!/bin/bash
# Performs system upgrade using topgrade
# Then writes the time of last update into dest
dest=$HOME/.config/last-system-upgrade
topgrade --no-retry --verbose --yes
echo $(date "+%s") >> $dest