summaryrefslogtreecommitdiffstats
path: root/multimedia/acme/files/patch-src_acme.c
blob: 4da386b2923776912570fe016d34cb3a2b681654 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/acme.c.orig Sun Jan 19 06:43:45 2003
+++ src/acme.c  Mon Jan 27 18:09:38 2003
@@ -201,10 +201,10 @@
    if ((soundfile == NULL) || (strcmp (soundfile, "") == 0)) 
        return;
 
-   if (g_file_test ("/usr/bin/esdplay",
+   if (g_file_test ("%%LOCALBASE%%/bin/esdplay",
            (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_EXECUTABLE)))
    {
-       command = g_strdup_printf ("/usr/bin/esdplay %s",
+       command = g_strdup_printf ("%%LOCALBASE%%/bin/esdplay %s",
                soundfile);
    } else if (g_file_test ("/usr/bin/play",
            (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_EXECUTABLE)))