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
|
@ -2,6 +2,11 @@
|
|||
#-e Causes bash script to exit if any of the installers
|
||||
#return with a non-zero return value.
|
||||
|
||||
if [ `whoami` != 'root' ]; then
|
||||
echo "Please run as root user."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
set +e
|
||||
DEB=$(dpkg -s airtime 2> /dev/null | grep Status)
|
||||
set -e
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue