aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions7
1 files changed, 1 insertions, 6 deletions
diff --git a/functions b/functions
index 25861d0..f8a7acd 100644
--- a/functions
+++ b/functions
@@ -417,13 +417,8 @@ set_timezone() {
if [[ -L /etc/localtime && /etc/localtime -ef $zonefile ]]; then
return 0
- fi
-
- # respect the user's decision to symlink or copy
- if [[ -L /etc/localtime ]]; then
- ln -sf "/usr/share/zoneinfo/$tz" /etc/localtime
else
- cp --remove-destination "/usr/share/zoneinfo/$tz" /etc/localtime
+ ln -sf "/usr/share/zoneinfo/$tz" /etc/localtime
fi
}