Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide Moode 9: Add AAC bluetooth codec support
#8
The solution works, yet relies on "+aac" appearing in the package name.

A more flexible solution could be to keep any newer version which a user might have installed by hand. After playing around with dpkg a bit, I found the following method to compare the installed version against a requested version ("4.2.0-2moode1" in this case):

Code:
if dpkg --compare-versions $(dpkg-query -W -f='${Version}' bluez-alsa-utils) ge "4.2.0-2moode1"; then echo "Newer or equal version"; else echo "Older version"; fi


Best regards,
Jens
Reply


Messages In This Thread
RE: Moode 9: Add AAC bluetooth codec support - by jenzd - 03-15-2025, 02:38 AM

Forum Jump: