CC-2845: airtime reinstall doesn't work when php uses --file parameter
-fix install/upgrade/reinstall issues that Daniel found.
This commit is contained in:
parent
eecb4a44d6
commit
153a89430a
4 changed files with 19 additions and 9 deletions
|
@ -1,5 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ `whoami` != 'root' ]; then
|
||||
echo "Please run as root user."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
VIRTUAL_ENV_DIR="/usr/lib/airtime/airtime_virtualenv"
|
||||
if [ ! -d "$VIRTUAL_ENV_DIR" ]; then
|
||||
echo -e "\nAirtime is not installed, cannot uninstall.\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue