mirror of
https://github.com/ej52/proxmox-scripts.git
synced 2025-11-23 17:30:27 +01:00
fix: Only change version number of the package
This commit is contained in:
@@ -217,8 +217,8 @@ step_start "Nginx Proxy Manager" "Downloading" "Downloaded"
|
||||
|
||||
step_start "Enviroment" "Setting up" "Setup"
|
||||
# Update NPM version in package.json files
|
||||
sed -i "s+0.0.0+$NPM_VERSION+g" backend/package.json
|
||||
sed -i "s+0.0.0+$NPM_VERSION+g" frontend/package.json
|
||||
sed -i "s/\"version\": \"0.0.0\"/\"version\": \"$NPM_VERSION\"/" backend/package.json
|
||||
sed -i "s/\"version\": \"0.0.0\"/\"version\": \"$NPM_VERSION\"/" frontend/package.json
|
||||
|
||||
# Fix nginx config files for use with openresty defaults
|
||||
sed -i 's/user npm/user root/g; s/^pid/#pid/g; s+^daemon+#daemon+g' docker/rootfs/etc/nginx/nginx.conf
|
||||
|
||||
Reference in New Issue
Block a user