File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,15 @@ network_check
1414update_os
1515
1616msg_info " Installing Dependencies"
17- $STD apt-get install -y curl mc sudo openjdk-17-jre
17+ $STD apt-get install -y \
18+ curl \
19+ mc \
20+ sudo \
21+ openjdk-17-jre
1822msg_ok " Installed Dependencies"
1923
20- RELEASE=$( curl -s https://api.github.com/repos/gotson/komga/releases/latest | grep " tag_name" | awk ' {print substr($2, 2, length($2)-3) }' )
21-
2224msg_info " Installing Komga"
25+ RELEASE=$( curl -s https://api.github.com/repos/gotson/komga/releases/latest | grep " tag_name" | awk ' {print substr($2, 2, length($2)-3) }' )
2326wget -q https://github.com/gotson/komga/releases/download/${RELEASE} /komga-${RELEASE} .jar
2427mkdir -p /opt/komga
2528mv -f komga-${RELEASE} .jar /opt/komga/komga.jar
@@ -42,7 +45,6 @@ Restart=on-failure
4245[Install]
4346WantedBy=multi-user.target
4447EOF
45- systemctl -q daemon-reload
4648systemctl enable --now -q komga
4749msg_ok " Created Service"
4850
You can’t perform that action at this time.
0 commit comments