Группа :: Работа с файлами
Пакет: 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();
}