forked from acouzens/open5gs
[WebUI] Fixed install script (#2619)
WebUI Install script fails if directory /usr/lib/node_modules does not already exist
This commit is contained in:
parent
8a3dbd44ae
commit
48de174a3b
|
@ -253,6 +253,7 @@ print_status "Build the Open5GS WebUI..."
|
||||||
exec_cmd "cd ./${PACKAGE}-${VERSION}/webui && npm clean-install && npm run build"
|
exec_cmd "cd ./${PACKAGE}-${VERSION}/webui && npm clean-install && npm run build"
|
||||||
|
|
||||||
print_status "Install the Open5GS WebUI..."
|
print_status "Install the Open5GS WebUI..."
|
||||||
|
exec_cmd "mkdir -p /usr/lib/node_modules"
|
||||||
exec_cmd "mv ./${PACKAGE}-${VERSION}/webui /usr/lib/node_modules/${PACKAGE}"
|
exec_cmd "mv ./${PACKAGE}-${VERSION}/webui /usr/lib/node_modules/${PACKAGE}"
|
||||||
exec_cmd_nobail "chown -R open5gs:open5gs /usr/lib/node_modules/${PACKAGE}"
|
exec_cmd_nobail "chown -R open5gs:open5gs /usr/lib/node_modules/${PACKAGE}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue