Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37704751
en ru br
Репозитории ALT

Группа :: Работа с файлами
Пакет: kde5-kgpg

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: alt-gpg-bin.patch
Скачать


--- a/kgpg.kcfg
+++ b/kgpg.kcfg
@@ -61,7 +61,7 @@
         </entry>
         <entry name="GpgBinaryPath" type="Path" key="gpg_bin_path">
             <label>The path of the gpg binary used by KGpg.</label>
-            <default>gpg</default>
+            <default>gpg2</default>
         </entry>
     </group>
 
--- a/kgpgfirstassistant.cpp
+++ b/kgpgfirstassistant.cpp
@@ -114,7 +114,7 @@ KGpgFirstAssistant::KGpgFirstAssistant(Q
 	if (gpgBin.isEmpty())
 		gpgBin = QStandardPaths::findExecutable(QLatin1String("gpg"));
 	if (gpgBin.isEmpty())
-		gpgBin = QLatin1String("gpg");
+		gpgBin = QLatin1String("gpg2");
 	binURL->setUrl(QUrl::fromLocalFile(gpgBin));
 
 	connect(binURL, &KUrlRequester::textChanged, this, &KGpgFirstAssistant::slotBinaryChanged);
--- a/kgpgexternalactions.cpp
+++ b/kgpgexternalactions.cpp
@@ -452,7 +452,7 @@ void KGpgExternalActions::firstRun()
 	QProcess *createConfigProc = new QProcess(this);
 	QStringList args;
 	args << QLatin1String( "--no-tty" ) << QLatin1String( "--list-secret-keys" );
-	createConfigProc->start(QLatin1String( "gpg" ), args);	// start GnuPG so that it will create a config file
+	createConfigProc->start(QLatin1String( "gpg2" ), args);	// start GnuPG so that it will create a config file
 	createConfigProc->waitForFinished();
 	startAssistant();
 }
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin