bash/if-python-user.bash: easy copying of my check

This commit is contained in:
Mikaela Suomalainen 2014-07-12 16:37:49 +03:00
parent 25f08c5804
commit 4619036d86
1 changed files with 5 additions and 0 deletions

5
bash/if-python-user.bash Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
if [[ $USER != "root" ]]; then
NOROOT="--user"
fi