Commit 364e4248 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix set_last_link

parent ae83cf83
......@@ -58,7 +58,7 @@ set_last_link()
echo $1 | grep -q /testing/sources && return
# do not change last if unstable publish
echo $1 | grep -q /unstable/sources && return
# do not update last link if it is not exists
# test -L "$1/../last" || return
# do not create last link to last
[ "$2" = "last" ] && return
rm -f "$LASTNAME" && ln -s "$2" "$LASTNAME"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment