commit 59b7f478443f6c83950e9bf509fdc38b6213b449
parent 052c39c52109a8b94d77f890b55beda6875018a6
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date: Wed, 27 Jul 2022 02:26:23 +0200
Pre-create standard XDG directories for root
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/postinstall b/postinstall
@@ -87,6 +87,7 @@ setup_static_symlinks() {
setup_skel() {
local f l h=/root
+ (umask 077 && mkdir -p $h/.{config,cache,local/{share,state}}) || return $?
for f in conf/skel/**/*(.D); do
l=$h/${f%conf/skel/}
[[ -e $l ]] && continue