Skip to content

Commit ebb7f73

Browse files
authored
Update actualbudget.sh
1 parent 39ff348 commit ebb7f73

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

ct/actualbudget.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,7 @@ function update_script() {
3333
msg_error "No ${APP} Installation Found!"
3434
exit
3535
fi
36-
37-
if ! command -v jq >/dev/null 2>&1; then
38-
echo "Installing jq..."
39-
apt-get install -y jq >/dev/null 2>&1
40-
echo "Installed jq..."
41-
fi
42-
36+
4337
RELEASE=$(curl -s https://api.github.com/repos/actualbudget/actual/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
4438
if [[ ! -f /opt/actualbudget_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/actualbudget_version.txt)" ]]; then
4539
msg_info "Stopping ${APP}"

0 commit comments

Comments
 (0)