Auto-sync from catchthesethighs
This commit is contained in:
@@ -137,6 +137,6 @@ less() {
|
|||||||
|
|
||||||
# Arch system upgrade with snapper pre/post
|
# Arch system upgrade with snapper pre/post
|
||||||
sys-update() {
|
sys-update() {
|
||||||
local update_date=$(date -d "today" +"%Y%m%d%H%M")
|
local update_date=$(date -d "today" +"%Y-%m-%d %H:%M")
|
||||||
sudo snapper -c root create --description "System Update ${update_date}" --command "sudo pacman -Syu"
|
sudo snapper -c root create --description "System Update ${update_date}" --command "sudo pacman -Syu"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user