Upgrade Tor Browser to 14.0a6 (refs: tails#20448)
[tails.git] / config / chroot_local-hooks / 70-xdg-user-dirs
blob2e796485580ed0ca0658a593ba748c128f161cc9
1 #!/bin/sh
2 set -e
3 set -u
5 echo 'Configuring xdg-user-dirs-update'
7 mkdir -p /usr/lib/xdg-user-dirs-update
8 dpkg-divert --add --rename --divert /usr/lib/xdg-user-dirs-update/xdg-user-dirs-update /usr/bin/xdg-user-dirs-update
10 # We want to run xdg-user-dirs-update with English locale, to make sure that
11 # the XDG Directories are not localized (see #19255):
12 cat > /usr/bin/xdg-user-dirs-update << 'EOF'
13 #!/bin/sh
15 exec env LC_MESSAGES=en_US /usr/lib/xdg-user-dirs-update/xdg-user-dirs-update
16 EOF
18 chmod 755 /usr/bin/xdg-user-dirs-update