Revert "etc: use ${DOCUMENTS} macro where appropriate"

This reverts commit 5df1f27c63.

That commit breaks things, as pointed out by @rusty-snake[1]:

> @kmk3 @glitsj16 The xdg macros are treated literally if they have sub
> components (#2359):
>
> ```
> Error: "${DOCUMENTS}/KeePassXC" is an invalid filename: rejected character: "{"
> ```

[1]: 3fa2927c3c (commitcomment-46913219)
This commit is contained in:
Kelvin M. Klann 2021-02-09 14:01:37 -03:00 committed by rusty-snake
parent 9ddd5dbbab
commit 8e8346f865
2 changed files with 5 additions and 5 deletions

View file

@ -31,9 +31,9 @@ include disable-shell.inc
include disable-xdg.inc
# You can enable whitelisting for keepassxc by uncommenting (or adding to you keepassxc.local) the following lines.
# If you do so, you MUST store your database under ${DOCUMENTS}/KeePassXC/foo.kdbx
#mkdir ${DOCUMENTS}/KeePassXC
#whitelist ${DOCUMENTS}/KeePassXC
# If you do so, you MUST store your database under ${HOME}/Documents/KeePassXC/foo.kdbx
#mkdir ${HOME}/Documents/KeePassXC
#whitelist ${HOME}/Documents/KeePassXC
# Needed for KeePassXC-Browser
#mkfile ${HOME}/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json
#whitelist ${HOME}/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json

View file

@ -16,10 +16,10 @@ include disable-programs.inc
mkdir ${HOME}/.Mathematica
mkdir ${HOME}/.Wolfram Research
mkdir ${DOCUMENTS}/Wolfram Mathematica
mkdir ${HOME}/Documents/Wolfram Mathematica
whitelist ${HOME}/.Mathematica
whitelist ${HOME}/.Wolfram Research
whitelist ${DOCUMENTS}/Wolfram Mathematica
whitelist ${HOME}/Documents/Wolfram Mathematica
include whitelist-common.inc
caps.drop all