From aa915d4acd43357969f2493ad242d0c6efb4174a Mon Sep 17 00:00:00 2001 From: tnut Date: Fri, 22 Oct 2010 10:44:43 +0200 Subject: ktorrent, ajout post-install et nettoyage du port --- kde/ktorrent/httpserver.patch | 10 ---------- kde/ktorrent/ktorrent.desktop | 11 ----------- kde/ktorrent/ktorrent.install | 12 ------------ kde/ktorrent/ktorrent.png | Bin 3222 -> 0 bytes kde/ktorrent/post-install | 2 ++ 5 files changed, 2 insertions(+), 33 deletions(-) delete mode 100644 kde/ktorrent/httpserver.patch delete mode 100755 kde/ktorrent/ktorrent.desktop delete mode 100644 kde/ktorrent/ktorrent.install delete mode 100755 kde/ktorrent/ktorrent.png create mode 100644 kde/ktorrent/post-install (limited to 'kde') diff --git a/kde/ktorrent/httpserver.patch b/kde/ktorrent/httpserver.patch deleted file mode 100644 index 71c616db0..000000000 --- a/kde/ktorrent/httpserver.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- plugins/webinterface/httpserver.cpp.old -+++ plugins/webinterface/httpserver.cpp -@@ -29,6 +29,7 @@ - #include - #include - #include -+#include - - #include - #include diff --git a/kde/ktorrent/ktorrent.desktop b/kde/ktorrent/ktorrent.desktop deleted file mode 100755 index 9ac725332..000000000 --- a/kde/ktorrent/ktorrent.desktop +++ /dev/null @@ -1,11 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=le ktorrent -Comment=KDE Client bitorrent -Exec=ktorrent -Icon=ktorrent -Terminal=false -Type=Application -Categories=Application;Internet; -StartupNotify=true - diff --git a/kde/ktorrent/ktorrent.install b/kde/ktorrent/ktorrent.install deleted file mode 100644 index 3884b350d..000000000 --- a/kde/ktorrent/ktorrent.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null - update-mime-database usr/share/mime &> /dev/null -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} diff --git a/kde/ktorrent/ktorrent.png b/kde/ktorrent/ktorrent.png deleted file mode 100755 index 6746d8d1d..000000000 Binary files a/kde/ktorrent/ktorrent.png and /dev/null differ diff --git a/kde/ktorrent/post-install b/kde/ktorrent/post-install new file mode 100644 index 000000000..e66be6d25 --- /dev/null +++ b/kde/ktorrent/post-install @@ -0,0 +1,2 @@ +xdg-icon-resource forceupdate --theme hicolor &> /dev/null +update-mime-database usr/share/mime &> /dev/null -- cgit v1.2.3-70-g09d2