From bd72eef4a4458f8d2e52609d7b6cf3efe12a0177 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 4 Jul 2021 21:06:02 +0900 Subject: Rearranged applications folder into sub categories. Signed-off-by: Michele Calgaro --- .../kvpnc/debian/patches/10_su-to-root_usage.diff | 11 -------- .../debian/patches/13_add_kuser_issuperuser.diff | 29 ---------------------- .../_base/applications/kvpnc/debian/patches/series | 2 -- 3 files changed, 42 deletions(-) delete mode 100644 ubuntu/_base/applications/kvpnc/debian/patches/10_su-to-root_usage.diff delete mode 100644 ubuntu/_base/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff delete mode 100644 ubuntu/_base/applications/kvpnc/debian/patches/series (limited to 'ubuntu/_base/applications/kvpnc/debian/patches') diff --git a/ubuntu/_base/applications/kvpnc/debian/patches/10_su-to-root_usage.diff b/ubuntu/_base/applications/kvpnc/debian/patches/10_su-to-root_usage.diff deleted file mode 100644 index 711bbff74..000000000 --- a/ubuntu/_base/applications/kvpnc/debian/patches/10_su-to-root_usage.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/kvpnc.desktop -+++ b/src/kvpnc.desktop -@@ -18,7 +18,7 @@ - GenericName[xx]=xxVPN Client GUIxx - - Categories=Network;RemoteAccess;TDE;Qt --Exec=kvpnc -+Exec=su-to-root -X -c /opt/trinity/bin/kvpnc - X-TDE-SubstituteUID=true - Icon=kvpnc - Type=Application diff --git a/ubuntu/_base/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff b/ubuntu/_base/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff deleted file mode 100644 index 0729793b7..000000000 --- a/ubuntu/_base/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/src/main.cpp b/src/main.cpp -index 7c45fcf..b933832 100644 ---- a/src/main.cpp -+++ b/src/main.cpp -@@ -24,6 +24,7 @@ - #include - #include - #include -+#include - - #include - #include -@@ -134,11 +135,11 @@ int main ( int argc, char *argv[] ) - } - else - { --// if (getenv("USER") != TQString("root")) --// { --// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); --// exit(0); --// } -+ if (getenv("USER") != TQString("root")) -+ { -+ KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); -+ exit(0); -+ } - - TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); - diff --git a/ubuntu/_base/applications/kvpnc/debian/patches/series b/ubuntu/_base/applications/kvpnc/debian/patches/series deleted file mode 100644 index d29c3ca91..000000000 --- a/ubuntu/_base/applications/kvpnc/debian/patches/series +++ /dev/null @@ -1,2 +0,0 @@ -# 10_su-to-root_usage.diff -13_add_kuser_issuperuser.diff -- cgit v1.2.1