Use `timedatectl` when Ubuntu 20.04.

This commit is contained in:
Kazuhiro MUSASHI 2020-10-10 16:07:09 +09:00
parent 3b45ffb703
commit 05d7215f76
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
case run_command('grep VERSION_ID /etc/os-release | awk -F\" \'{print $2}\'').stdout.chomp
when "18.04"
when "18.04", "20.04"
execute 'timedatectl set-timezone Asia/Tokyo' do
not_if 'timedatectl | grep Tokyo'
end