Группа :: Графика
Пакет: clens
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: clens-mdk-profile.patch
Скачать
Скачать
--- src/main.c.origi 2005-01-26 21:20:04.319637173 +0100
+++ src/main.c 2005-01-26 21:23:31.211653302 +0100
@@ -292,9 +292,9 @@
pref.profilePath = getenv("CLENS_PROFILE");
if (pref.profilePath == NULL)
{
- puts ("Must specify where \"profile.txt\" is! Use the \"-p\" option");
- puts("or specify it using the CLENS_PROFILE environment variable");
- exit(1);
+ // Specific Mandrakelinux patch, profiles are put in @@PROFILE@@
+ // wich is set when the rpm is built
+ pref.profilePath = "@@PROFILE@@";
}
//verify the existance of stitcher in current path
@@ -305,6 +305,8 @@
if (readDataBase() != 0)
{
puts ("Error reading database");
+ puts ("Must specify where \"profile.txt\" is! Use the \"-p\" option");
+ puts("or specify it using the CLENS_PROFILE environment variable");
exit(1);
}