kde-applications

This commit is contained in:
Rmys
2025-01-22 22:36:28 +03:00
parent 355b6f7a5d
commit 144aa472f5
31 changed files with 294 additions and 3721 deletions
@@ -16,14 +16,14 @@ diff -Nuar a/apps/kate/main.cpp b/apps/kate/main.cpp
- // Prohibit using sudo or kdesu (but allow using the root user directly)
- if (getuid() == 0) {
- if (!qEnvironmentVariableIsEmpty("SUDO_USER")) {
- std::cout << "Running Kate with sudo can cause bugs and expose you to security vulnerabilities. "
- "Instead use Kate normally and you will be prompted for elevated privileges when "
- std::cout << "Running kate with sudo can cause bugs and expose you to security vulnerabilities. "
- "Instead use kate normally and you will be prompted for elevated privileges when "
- "saving documents if needed."
- << std::endl;
- return EXIT_FAILURE;
- } else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) {
- std::cout << "Running Kate with kdesu can cause bugs and expose you to security vulnerabilities. "
- "Instead use Kate normally and you will be prompted for elevated privileges when "
- } else if (!qEnvironmentVariableIsEmpty("kdesu_USER")) {
- std::cout << "Running kate with kdesu can cause bugs and expose you to security vulnerabilities. "
- "Instead use kate normally and you will be prompted for elevated privileges when "
- "saving documents if needed."
- << std::endl;
- return EXIT_FAILURE;