commit 7dbcaf04cec1aba94af26731e99ef744a6b1a912
parent 9bb787450db0a87d170ff7c1083f4830e40533eb
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date: Wed, 27 Jul 2022 02:35:15 +0200
Fix symlink path
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/postinstall b/postinstall
@@ -89,7 +89,7 @@ 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/}
+ l=$h/${f#conf/skel/}
[[ -e $l ]] && continue
mkdir -p $l:h || return $?
s6-ln -s /current/$f $l || return $?