diff options
author | Jonathan Bauer | 2014-07-01 17:46:24 +0200 |
---|---|---|
committer | Jonathan Bauer | 2014-07-01 17:46:24 +0200 |
commit | 61b786a74bfca1075f009a93306d7022aed36ac1 (patch) | |
tree | 1b883370163b045c9d5a94138609a24d33e4490d /server/modules | |
parent | [pam-freiburg] minor (diff) | |
download | tm-scripts-61b786a74bfca1075f009a93306d7022aed36ac1.tar.gz tm-scripts-61b786a74bfca1075f009a93306d7022aed36ac1.tar.xz tm-scripts-61b786a74bfca1075f009a93306d7022aed36ac1.zip |
[config] add PERSISTENT prefix to all standard xdg directories
Diffstat (limited to 'server/modules')
-rwxr-xr-x | server/modules/xdg-users-dir-fix/etc/profile.d/99-user-dirs.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/server/modules/xdg-users-dir-fix/etc/profile.d/99-user-dirs.sh b/server/modules/xdg-users-dir-fix/etc/profile.d/99-user-dirs.sh new file mode 100755 index 00000000..5d455970 --- /dev/null +++ b/server/modules/xdg-users-dir-fix/etc/profile.d/99-user-dirs.sh @@ -0,0 +1,10 @@ +#!/bin/ash + +xdg-user-dirs-update --set DOWNLOAD "${HOME}/PERSISTENT/Downloads" +xdg-user-dirs-update --set DESKTOP "${HOME}/PERSISTENT/Desktop" +xdg-user-dirs-update --set TEMPLATES "${HOME}/PERSISTENT/Templates" +xdg-user-dirs-update --set PUBLICSHARE "${HOME}/PERSISTENT/PublicShare" +xdg-user-dirs-update --set DOCUMENTS "${HOME}/PERSISTENT/Documents" +xdg-user-dirs-update --set MUSIC "${HOME}/PERSISTENT/Music" +xdg-user-dirs-update --set PICTURES "${HOME}/PERSISTENT/Pictures" +xdg-user-dirs-update --set VIDEOS "${HOME}/PERSISTENT/Videos" |