Skip to content

Commit

Permalink
Update qbittorrent-nox-static.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
userdocs committed May 15, 2024
1 parent bd48481 commit 42d112a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion qbittorrent-nox-static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,13 @@ _qbittorrent_std_cons() {
}

_set_cxx_standard() {
[[ $(_qt_std_cons) == "yes" && $(_libtorrent_std_cons) == "yes" && $(_qbittorrent_std_cons) == "yes" ]] && qbt_standard="20" qbt_cxx_standard="c++${qbt_standard}"
if [[ $(_qt_std_cons) == "yes" && $(_libtorrent_std_cons) == "yes" && $(_qbittorrent_std_cons) == "yes" ]]; then
if [[ "${os_version_codename}" =~ ^(alpine|bookworm|jammy|noble)$ ]]; then
qbt_standard="23" qbt_cxx_standard="c++${qbt_standard}"
elif [[ "${os_version_codename}" =~ ^(bullseye|focal)$ ]]; then
qbt_standard="2a" qbt_cxx_standard="c++${qbt_standard}"
fi
fi
}

#######################################################################################################################################################
Expand Down

0 comments on commit 42d112a

Please sign in to comment.