There was an error while loading. Please reload this page.
1 parent 05f552e commit a5ed6c1Copy full SHA for a5ed6c1
1 file changed
ct/planka.sh
@@ -28,7 +28,7 @@ function update_script() {
28
msg_error "No ${APP} Installation Found!"
29
exit
30
fi
31
- RELEASE=$(curl -s https://api.github.com/repos/plankanban/planka/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
+ RELEASE=$(curl -s https://api.github.com/repos/plankanban/planka/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
32
if [[ "${RELEASE}" != "$(cat ~/.planka 2>/dev/null)" ]] || [[ ! -f ~/.planka ]]; then
33
msg_info "Stopping $APP"
34
systemctl stop planka
0 commit comments