remove latest before linking to prevent symlink below latest/

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-02-13 15:20:33 +01:00
parent f8868349e6
commit ba0130594c
1 changed files with 1 additions and 1 deletions

2
build
View File

@ -123,7 +123,7 @@ case "$1" in
# Fix ikiwiki, which does not like symlinks for pseudo security
ssh tee.schottelius.org \
"cd /home/services/www/nico/www.nico.schottelius.org/www/software/cdist/man &&
ln -sf "$version" latest"
rm -f latest && ln -sf "$version" latest"
;;
p|pu|pub)