summaryrefslogblamecommitdiffstats
path: root/multimedia/acme/files/patch-src_acme.c
blob: 3a46a7e34ffdd600903a7a0c3a2fee97a2edbb55 (plain) (tree)
1
2
3
4
5
6
7
8






                                                                  
                                                     


                                                                          
                                                                          


                                                                          
--- src/acme.c.orig Mon Jan 27 17:58:12 2003
+++ src/acme.c  Mon Jan 27 17:58:42 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)))