diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-10-02 20:22:28 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-10-02 20:22:28 +0200 |
commit | cc3858bd8844988a5c49afb168be806168bea7e0 (patch) | |
tree | 12bbf83a9826e9daf9259c0b7d8feada197d8751 /ubuntu/precise/applications/kvpnc/debian/patches | |
parent | 8af8d5c2c458ec76eca7074bed52ea49e73b477c (diff) | |
parent | 47864a912b26acfd0a5c4c0a8be6bfd8df892dd8 (diff) | |
download | tde-packaging-cc3858bd8844988a5c49afb168be806168bea7e0.tar.gz tde-packaging-cc3858bd8844988a5c49afb168be806168bea7e0.zip |
RPM Packaging: updates
Diffstat (limited to 'ubuntu/precise/applications/kvpnc/debian/patches')
-rw-r--r-- | ubuntu/precise/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff | 12 | ||||
-rw-r--r-- | ubuntu/precise/applications/kvpnc/debian/patches/series | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/ubuntu/precise/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff b/ubuntu/precise/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff index 826d4e236..0729793b7 100644 --- a/ubuntu/precise/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff +++ b/ubuntu/precise/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff @@ -14,16 +14,16 @@ index 7c45fcf..b933832 100644 } else { --// if (getenv("USER") != "root") +-// if (getenv("USER") != TQString("root")) -// { -// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); -// exit(0); -// } -+ if (getenv("USER") != "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/precise/applications/kvpnc/debian/patches/series b/ubuntu/precise/applications/kvpnc/debian/patches/series index 09040ada9..d29c3ca91 100644 --- a/ubuntu/precise/applications/kvpnc/debian/patches/series +++ b/ubuntu/precise/applications/kvpnc/debian/patches/series @@ -1,2 +1,2 @@ -10_su-to-root_usage.diff +# 10_su-to-root_usage.diff 13_add_kuser_issuperuser.diff |