1f1c1a89c0
1 OBS-URL: https://build.opensuse.org/request/show/263008 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kmix?expand=0&rev=38
40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
diff -Ndur kmix-4.14.3/apps/kmixremote kmix-4.14.3-fix-bashisms/apps/kmixremote
|
|
--- kmix-4.14.3/apps/kmixremote 2014-07-16 11:24:17.000000000 +0300
|
|
+++ kmix-4.14.3-fix-bashisms/apps/kmixremote 2014-11-23 06:46:36.616308340 +0200
|
|
@@ -7,7 +7,7 @@
|
|
# Mute
|
|
#################################################################################
|
|
|
|
-function usage
|
|
+usage()
|
|
{
|
|
echo "Usage:"
|
|
echo "List mixers # $0 list"
|
|
@@ -18,7 +18,7 @@
|
|
echo
|
|
}
|
|
|
|
-function exit_with_error
|
|
+exit_with_error()
|
|
{
|
|
echo "Error: $1"
|
|
echo
|
|
@@ -27,7 +27,7 @@
|
|
}
|
|
|
|
# Prints the mixer DBUS ID's on the console. leaving out the "/Mixers/" prefix
|
|
-function listMixers
|
|
+listMixers()
|
|
{
|
|
qdbus org.kde.kmix /Mixers org.freedesktop.DBus.Properties.Get org.kde.KMix.MixSet mixers | cut -f3 -d/
|
|
errorCode=$?
|
|
@@ -37,7 +37,7 @@
|
|
}
|
|
|
|
# Prints the mixer control DBUS ID's of the given mixer on the console. leaving out the "/Mixers/" prefix
|
|
-function listControls
|
|
+listControls()
|
|
{
|
|
qdbus org.kde.kmix $1 org.freedesktop.DBus.Properties.Get org.kde.KMix.Mixer controls | cut -f4 -d/
|
|
errorCode=$?
|