remove latest before linking to prevent symlink below latest/
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
f8868349e6
commit
ba0130594c
1 changed files with 1 additions and 1 deletions
2
build
2
build
|
@ -123,7 +123,7 @@ case "$1" in
|
||||||
# Fix ikiwiki, which does not like symlinks for pseudo security
|
# Fix ikiwiki, which does not like symlinks for pseudo security
|
||||||
ssh tee.schottelius.org \
|
ssh tee.schottelius.org \
|
||||||
"cd /home/services/www/nico/www.nico.schottelius.org/www/software/cdist/man &&
|
"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)
|
p|pu|pub)
|
||||||
|
|
Loading…
Reference in a new issue