Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37880114
en ru br
Репозитории ALT
S:0.2-alt3.qa1
5.1: 0.2-alt3
4.1: 0.2-alt3
4.0: 0.2-alt3
www.altlinux.org/Changes

Группа :: Графика
Пакет: 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);
 	}
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin