Skip to content

Commit 5bc9c08

Browse files
authored
always install jquery
1 parent 58a3948 commit 5bc9c08

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

nextcloud_install_production.sh

+9
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ else
5050
apt install whiptail -y
5151
fi
5252

53+
# Install jq if not existing (for notify_admin_gui)
54+
if [ "$(dpkg-query -W -f='${Status}' "jq" 2>/dev/null | grep -c "ok installed")" == "1" ]
55+
then
56+
print_text_in_color "$IGreen" "jquery OK"
57+
else
58+
apt update -q4 & spinner_loading
59+
apt install jq -y
60+
fi
61+
5362
# shellcheck disable=2034,2059
5463
true
5564
# shellcheck source=lib.sh

0 commit comments

Comments
 (0)