mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-02-12 08:27:39 +00:00
hide error of "cd"
This commit is contained in:
parent
e3f69c1240
commit
9d0d522243
@ -357,7 +357,7 @@ case "$1" in
|
|||||||
runmakeindex
|
runmakeindex
|
||||||
;;
|
;;
|
||||||
download)
|
download)
|
||||||
if ! cd data/xonotic-maps.pk3dir; then
|
if ! cd data/xonotic-maps.pk3dir >/dev/null 2>&1; then
|
||||||
echo "data/xonotic-maps.pk3dir does not exist, not downloading"
|
echo "data/xonotic-maps.pk3dir does not exist, not downloading"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user