Skip to content

Commit c8dd371

Browse files
author
Mingcong Bai
committed
a very stupid mistake
1 parent 0c27f53 commit c8dd371

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

profile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ export HISTIGNORE="&:[bf]g:exit"
5353
# Timezone variable $TZ, Wine and stuff alike need it.
5454
export TZ="$(readlink /etc/localtime | sed 's/^\.\.//g' | sed "s/\/usr\/share\/zoneinfo\///")"
5555

56-
# And sync this setting onto /etc/timezone for weird stuff like indicator-datetime.
57-
echo $TZ > /etc/timezone
58-
5956
for script in /etc/profile.d/*.sh ; do
6057
[ -r $script ] && . $script
6158
done

profile.d/legacy-locale

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Set locale for legacy desktop environments that do not respect localectl.
2+
3+
export LANG=$(cat /etc/locale.conf) LC_ALL=$(cat /etc/locale.conf)

0 commit comments

Comments
 (0)