diff --git a/MIT b/MIT index a186608..37fcf3c 100644 --- a/MIT +++ b/MIT @@ -1,4 +1,4 @@ -Copyright (c) 2013-2019 graysky +Copyright (c) 2013-2020 graysky Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/Makefile b/Makefile index fd9bc56..364b8cd 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION = 1.67 +VERSION = 1.68 PN = pulseaudio-ctl PREFIX ?= /usr diff --git a/common/pulseaudio-ctl.in b/common/pulseaudio-ctl.in index 030055d..f3c0ce7 100644 --- a/common/pulseaudio-ctl.in +++ b/common/pulseaudio-ctl.in @@ -36,7 +36,7 @@ exit 1; } # really crude pactl version check since commands are different for different # versions of pactl. sorry users of PA <5 -PAVERSION=$(pactl --version | grep pactl | sed -e 's/^pactl //' -e 's/\([0-9.]\+\).\([0-9.]\+\)$/\1/') +PAVERSION=$(pactl --version | grep pactl | sed 's/^pactl \([0-9]*\.[0-9]\).*/\1/') if [[ ${PAVERSION%%.*} -lt 5 ]]; then # really old versions PCV=0