Skip to content

Commit a5ed6c1

Browse files
authored
Update planka.sh (#6058)
1 parent 05f552e commit a5ed6c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ct/planka.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function update_script() {
2828
msg_error "No ${APP} Installation Found!"
2929
exit
3030
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) }')
31+
RELEASE=$(curl -s https://api.github.com/repos/plankanban/planka/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
3232
if [[ "${RELEASE}" != "$(cat ~/.planka 2>/dev/null)" ]] || [[ ! -f ~/.planka ]]; then
3333
msg_info "Stopping $APP"
3434
systemctl stop planka

0 commit comments

Comments
 (0)