mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Konsole: fix shell login
This commit is contained in:
@@ -4,7 +4,7 @@ line interface for directly controlling your computer."
|
||||
HOMEPAGE="https://apps.kde.org/konsole"
|
||||
COPYRIGHT="2010-2020 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/konsole-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="6d3ba8a4e5baeda3f8b380f122313de1421836892994f1ddf0e6872696598d59"
|
||||
SOURCE_DIR="konsole-$portVersion"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 7f073a01dd11435ee0a3067b016a2ed33d21aae3 Mon Sep 17 00:00:00 2001
|
||||
From 86ac101c609ac9f4f6efcabbe461b003487fb641 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Tue, 5 Jan 2021 13:51:47 +1000
|
||||
Subject: Fix install knsrc files
|
||||
@@ -27,5 +27,28 @@ index c332e75..e2552eb 100644
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||
--
|
||||
2.28.0
|
||||
2.30.0
|
||||
|
||||
|
||||
From 3009ecfe7bf124d3fef32ac105d38ba55bdff0e0 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Wed, 6 Jan 2021 17:41:09 +1000
|
||||
Subject: Shell login
|
||||
|
||||
|
||||
diff --git a/src/session/Session.cpp b/src/session/Session.cpp
|
||||
index 7325bae..0edfe87 100644
|
||||
--- a/src/session/Session.cpp
|
||||
+++ b/src/session/Session.cpp
|
||||
@@ -485,7 +485,7 @@ void Session::run()
|
||||
|
||||
// if no arguments are specified, fall back to program name
|
||||
QStringList arguments = _arguments.join(QLatin1Char(' ')).isEmpty() ?
|
||||
- QStringList() << exec :
|
||||
+ QStringList() << exec << QStringLiteral("-login") :
|
||||
_arguments;
|
||||
|
||||
if (!_initialWorkingDir.isEmpty()) {
|
||||
--
|
||||
2.30.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user