Skip to content

Commit

Permalink
Revert "etc: use ${DOCUMENTS} macro where appropriate"
Browse files Browse the repository at this point in the history
This reverts commit 5df1f27.

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]: 3fa2927#commitcomment-46913219
  • Loading branch information
kmk3 authored and rusty-snake committed Feb 9, 2021
1 parent 9ddd5db commit 8e8346f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions etc/profile-a-l/keepassxc.profile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions etc/profile-m-z/Mathematica.profile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e8346f

Please sign in to comment.