repo.or.cz
/
arch-packages.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
archrelease: copy trunk to extra-x86_64
[arch-packages.git]
/
fontconfig
/
repos
/
extra-x86_64
/
40-fontconfig-config.script
blob
132f0f9f9daa883bd809500f73c2c59fe68df64e
1
#!/bin/bash
2
3
while
read -r
f
;
do
4
link
=
"
${1:?}
/
${f##*/}
"
5
if
[[
-e
$f
&& !
-e
$link
]];
then
6
ln
-sT
"/
$f
"
"
$link
"
7
elif
[[ !
-e
$f
&&
-L
$link
]];
then
8
rm
-f
"
$link
"
9
fi
10
done
11
12
# vim:set sw=2 et: