File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ function update_script() {
3030
3131 msg_info " Updating LXC Container"
3232 $STD apt update
33- $STD apt -y upgrade
33+ $STD apt upgrade -y
3434 msg_ok " Updated LXC Container"
3535
3636 NODE_VERSION=" 22" NODE_MODULE=" verdaccio" setup_nodejs
Original file line number Diff line number Diff line change @@ -14,17 +14,14 @@ network_check
1414update_os
1515
1616msg_info " Installing Dependencies"
17- $STD apt install -y \
18- ca-certificates \
19- build-essential
17+ $STD apt install -y build-essential
2018msg_ok " Installed Dependencies"
2119
2220NODE_VERSION=" 22" NODE_MODULE=" verdaccio" setup_nodejs
2321
2422msg_info " Configuring Verdaccio"
2523mkdir -p /opt/verdaccio/config
2624mkdir -p /opt/verdaccio/storage
27-
2825cat << EOF >/opt/verdaccio/config/config.yaml
2926# Verdaccio configuration
3027storage: /opt/verdaccio/storage
5855 sort_packages: asc
5956 login: true
6057EOF
61-
6258chown -R root:root /opt/verdaccio
6359chmod -R 755 /opt/verdaccio
6460msg_ok " Configured Verdaccio"
@@ -81,7 +77,6 @@ KillMode=control-group
8177[Install]
8278WantedBy=multi-user.target
8379EOF
84-
8580systemctl enable -q --now verdaccio
8681msg_ok " Created Service"
8782
You can’t perform that action at this time.
0 commit comments