summaryrefslogtreecommitdiffstats
path: root/opensuse/tdebase/autorun.patch
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2011-11-10 18:04:39 -0500
committerRobert Xu <robxu9@gmail.com>2011-11-10 18:04:39 -0500
commit21fcfa3348213aa87f0e3aef62ca4720c6d31cb7 (patch)
tree2cfb64c59322628e613ed0895e3c3694d3abe6bd /opensuse/tdebase/autorun.patch
parent8667643bff14a60d8571c599efd3e48bed3e3b12 (diff)
downloadtde-packaging-21fcfa3348213aa87f0e3aef62ca4720c6d31cb7.tar.gz
tde-packaging-21fcfa3348213aa87f0e3aef62ca4720c6d31cb7.zip
initial commit to suse branch: eclipse integration
Diffstat (limited to 'opensuse/tdebase/autorun.patch')
-rw-r--r--opensuse/tdebase/autorun.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/opensuse/tdebase/autorun.patch b/opensuse/tdebase/autorun.patch
deleted file mode 100644
index 962740cdc..000000000
--- a/opensuse/tdebase/autorun.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: kioslave/media/medianotifier/medianotifier.cpp
-===================================================================
---- kioslave/media/medianotifier/medianotifier.cpp.orig
-+++ kioslave/media/medianotifier/medianotifier.cpp
-@@ -133,7 +133,7 @@ bool MediaNotifier::autostart( const KFi
- // be checked for the following Autostart files in order of precedence:
- // .autorun, autorun, autorun.sh
- QStringList autorun_list;
-- autorun_list << ".autorun" << "autorun" << "autorun.sh";
-+ autorun_list << ".autorun" << "autorun" << "autorun.sh" << "setup.sh" << "media.1/patches";
-
- QStringList::iterator it = autorun_list.begin();
- QStringList::iterator end = autorun_list.end();
-@@ -191,7 +191,12 @@ bool MediaNotifier::execAutorun( const K
- // with the current working directory ( CWD ) set to the root
- // directory of the medium.
- KProcess proc;
-- proc << "sh" << autorunFile;
-+ if (autorunFile == "setup.sh")
-+ proc << "kdesu" << autorunFile;
-+ else if (autorunFile == "media.1/patches")
-+ proc << "kdesu" << "--nonewdcop" << "/sbin/yast2" << "online_update" << ".cd_default";
-+ else
-+ proc << "sh" << autorunFile;
- proc.setWorkingDirectory( path );
- proc.start();
- proc.detach();