diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-08-04 02:14:55 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-08-04 02:14:55 +0000 |
commit | 4db995d0f9d26a484da6af63149145a70c0a1cbc (patch) | |
tree | a50306820c6d0a0ee80bbc77f125acfa4a38b45c /perl-install/drakxtools.spec | |
parent | f195260340791f47e43bfa27e91a2ee4550c3654 (diff) | |
download | drakx-4db995d0f9d26a484da6af63149145a70c0a1cbc.tar drakx-4db995d0f9d26a484da6af63149145a70c0a1cbc.tar.gz drakx-4db995d0f9d26a484da6af63149145a70c0a1cbc.tar.bz2 drakx-4db995d0f9d26a484da6af63149145a70c0a1cbc.tar.xz drakx-4db995d0f9d26a484da6af63149145a70c0a1cbc.zip |
- automatically launch net_applet for KDE, GNOME and IceWM
Diffstat (limited to 'perl-install/drakxtools.spec')
-rw-r--r-- | perl-install/drakxtools.spec | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/perl-install/drakxtools.spec b/perl-install/drakxtools.spec index 761aed3dd..abf4bd7bf 100644 --- a/perl-install/drakxtools.spec +++ b/perl-install/drakxtools.spec @@ -1,7 +1,7 @@ Summary: The drakxtools (XFdrake, diskdrake, keyboarddrake, mousedrake...) Name: drakxtools Version: 10.1 -Release: 0.2mdk +Release: 0.3mdk Url: http://www.mandrakelinux.com/en/drakx.php3 Source0: %name-%version.tar.bz2 License: GPL @@ -220,9 +220,17 @@ cat > $RPM_BUILD_ROOT%_sysconfdir/X11/xinit.d/harddrake2 <<EOF exec /usr/share/harddrake/service_harddrake X11 EOF +cat > $RPM_BUILD_ROOT%_sysconfdir/X11/xinit.d/net_applet <<EOF +#!/bin/sh +DESKTOP=$1 +case $DESKTOP in + KDE|GNOME|IceWM) exec /usr/bin/net_applet;; +esac +EOF + mv $RPM_BUILD_ROOT%_sbindir/service_harddrake_confirm $RPM_BUILD_ROOT%_datadir/harddrake/confirm -chmod +x $RPM_BUILD_ROOT{%_datadir/harddrake/*,%_sysconfdir/X11/xinit.d/harddrake2} +chmod +x $RPM_BUILD_ROOT{%_datadir/harddrake/*,%_sysconfdir/X11/xinit.d/{harddrake2,net_applet}} # temporary fix until we reenable this feature rm -f $RPM_BUILD_ROOT%_sysconfdir/X11/xinit.d/harddrake2 @@ -286,7 +294,6 @@ file /etc/sysconfig/harddrake2/previous_hw | fgrep -q perl && %_datadir/harddrak %files -f %{name}-gtk.list %defattr(-,root,root) -/usr/share/autostart/net_applet.desktop /usr/X11R6/bin/* %files -n harddrake @@ -318,6 +325,9 @@ file /etc/sysconfig/harddrake2/previous_hw | fgrep -q perl && %_datadir/harddrak %config(noreplace) %_sysconfdir/logrotate.d/drakxtools-http %changelog +* Wed Aug 4 2004 Daouda LO <daouda@mandrakesoft.com> 10.1-0.3mdk +- automatically launch net_applet for KDE, GNOME and IceWM + * Fri Jul 30 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10.1-0.2mdk - drakbackup (stew): o fixes Anthill #1009 and #1010 (DVD recording, disk quota) |