10 lines
207 B
Bash
10 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
|
||
|
|