commit d4cdcd0cbbf8fca79c6cc179c50a302511665b92
parent 4835dabed67d0ee538722f82fd3a96a6968487dd
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date: Thu, 28 Jul 2022 12:47:45 +0200
Force-replace broken links in link-skel
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/command/link-skel b/command/link-skel
@@ -6,7 +6,7 @@ main() {
l=$HOME/${f#scripts/skel/}
[[ -e $l ]] && continue
mkdir -p $l:h || exit $?
- s6-ln -s /current/$f $l || exit $?
+ s6-ln -sfn /current/$f $l || exit $?
done
}
typeset -f -t main