mirror of
https://github.com/nextepc/nextepc-oss.git
synced 2025-10-23 04:52:17 +00:00
[WebUI] Fixed install script (#2619)
WebUI Install script fails if directory /usr/lib/node_modules does not already exist
This commit is contained in:
@@ -253,6 +253,7 @@ print_status "Build the Open5GS WebUI..."
|
||||
exec_cmd "cd ./${PACKAGE}-${VERSION}/webui && npm clean-install && npm run build"
|
||||
|
||||
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_nobail "chown -R open5gs:open5gs /usr/lib/node_modules/${PACKAGE}"
|
||||
|
||||
|
Reference in New Issue
Block a user