Compare commits

...

3 Commits

Author SHA1 Message Date
Strahinya Radich b5e03d1ef7
local-time: Add -t to if 1 month ago
Strahinya Radich a6c856a2b4
local-time: Convert ifelse to if 1 month ago
strajder 2603da15b1 Merge pull request 'Fix local-time so it doesn't overwrite existing /etc/localtime (set by Calamares)' (#9) from strajder/66-scripts:master into master 1 month ago
  1. 6
      module/boot@/service/local/local-time

6
module/boot@/service/local/local-time

@ -26,10 +26,8 @@
{
s6-ln -nsf /usr/share/zoneinfo/${TZ} /etc/localtime
}
ifelse { [ ! -L /etc/localtime ] }
{
s6-ln -nsf /usr/share/zoneinfo/${def_tz} /etc/localtime
}
if -t { [ ! -L /etc/localtime ] }
s6-ln -nsf /usr/share/zoneinfo/${def_tz} /etc/localtime
}
66-yeller -fcdp local-time -1 /dev/console crashed!

Loading…
Cancel
Save