Commit 69c87c8
committed
Do not install bash completion as non-root
This commit will detect if user runs setup.py as root and it will
install the bash completion files only in that case.
Note that the warning message about bash completion files not being
installed is printed only if the installation is run with -v or
--verbose flag.
Fixes #371 parent 58db8f4 commit 69c87c8
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
0 commit comments