mirror of
https://gitlab.com/xonotic/xonotic
synced 2024-12-17 12:24:47 +00:00
use a short URL
This commit is contained in:
parent
2b665c1978
commit
7f470fc2fd
@ -198,12 +198,14 @@ screenshotthemap()
|
||||
)
|
||||
if ! mv ~/.xonotic/data/screenshots "$M-$blobhash"; then
|
||||
if [ -n "$IRCSPAM" ]; then
|
||||
ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$HASH" 1 > "maps/$M.ircss"
|
||||
#ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$HASH" 1 > "maps/$M.ircss"
|
||||
ss2spam "$M" "$url?d" "$REFNAME" "$HASH" 1 > "maps/$M.ircss"
|
||||
fi
|
||||
return 1
|
||||
fi
|
||||
if [ -n "$IRCSPAM" ]; then
|
||||
ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$HASH" 0 > "maps/$M.ircss"
|
||||
#ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$HASH" 0 > "maps/$M.ircss"
|
||||
ss2spam "$M" "$url?d" "$REFNAME" "$HASH" 0 > "maps/$M.ircss"
|
||||
fi
|
||||
chmod 1777 "$M-$blobhash"
|
||||
ln -snf "../$M-$blobhash" "$M" # from ALL branches, so beware!
|
||||
|
Loading…
Reference in New Issue
Block a user