mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
No sudoer
This commit is contained in:
parent
2e9bf2af83
commit
5d959661e7
2 changed files with 9 additions and 10 deletions
|
@ -568,12 +568,11 @@ if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
|
|||
if [[ -f ${SRS_OBJS}/CherryPy-3.2.4/setup.py ]]; then
|
||||
echo "CherryPy-3.2.4 is ok.";
|
||||
else
|
||||
require_sudoer "install CherryPy-3.2.4"
|
||||
echo "Installing CherryPy-3.2.4";
|
||||
(
|
||||
sudo rm -rf ${SRS_OBJS}/CherryPy-3.2.4 && cd ${SRS_OBJS} &&
|
||||
rm -rf ${SRS_OBJS}/CherryPy-3.2.4 && cd ${SRS_OBJS} &&
|
||||
unzip -q ../3rdparty/CherryPy-3.2.4.zip && cd CherryPy-3.2.4 &&
|
||||
sudo python setup.py install
|
||||
python setup.py install --user
|
||||
)
|
||||
fi
|
||||
# check status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue