1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Script: Refine package and install script

This commit is contained in:
winlin 2021-04-26 14:20:18 +08:00
parent 3d74b0efc9
commit e67207f4b1
2 changed files with 5 additions and 20 deletions

View file

@ -153,18 +153,6 @@ ok_msg "start install srs"
ret=$?; if [[ 0 -ne ${ret} ]]; then failed_msg "install srs failed"; exit $ret; fi
ok_msg "install srs success"
# Copy srs-console
HTTP_HOME="${package_dir}/${INSTALL}/objs/nginx/html/"
(
cp $work_dir/research/api-server/static-dir/index.html ${HTTP_HOME} &&
cp $work_dir/research/api-server/static-dir/favicon.ico ${HTTP_HOME} &&
cp $work_dir/research/api-server/static-dir/crossdomain.xml ${HTTP_HOME} &&
cp -R $work_dir/research/players ${HTTP_HOME} &&
cp -R $work_dir/research/console ${HTTP_HOME}
) >> $log 2>&1
ret=$?; if [[ 0 -ne ${ret} ]]; then failed_msg "copy utilities failed"; exit $ret; fi
ok_msg "copy utilities success"
# copy extra files to package.
ok_msg "start copy extra files to package"
(