mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
hide errors when sudo required for typecheck setup
This commit is contained in:
parent
b55e2e7dfb
commit
b5fe37d171
1 changed files with 1 additions and 1 deletions
|
@ -10,4 +10,4 @@ TOOLS="$(cd "`dirname "$0"`"; pwd)"
|
||||||
modDir=$(python -c 'import PyQt5, sys, os; print(os.path.dirname(sys.modules["PyQt5"].__file__))')
|
modDir=$(python -c 'import PyQt5, sys, os; print(os.path.dirname(sys.modules["PyQt5"].__file__))')
|
||||||
cmd="rsync -a $TOOLS/stubs/PyQt5/* $modDir/"
|
cmd="rsync -a $TOOLS/stubs/PyQt5/* $modDir/"
|
||||||
|
|
||||||
$cmd || sudo $cmd
|
$cmd > /dev/null 2>&1 || sudo $cmd
|
||||||
|
|
Loading…
Reference in a new issue