9 lines
206 B
Bash
9 lines
206 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
|
|
|