- Hide usermount from GNOME and KDE menus Resolves: #440029

- Only hide userinfo and userpasswd in GNOME and KDE
This commit is contained in:
Miloslav Trmac 2008-11-06 09:31:22 +00:00
parent a801c45a23
commit 7978757f83

View File

@ -1,7 +1,7 @@
Summary: Tools for certain user account management tasks
Name: usermode
Version: 1.98.1
Release: 1
Release: 2
License: GPLv2+
Group: Applications/System
URL: https://fedorahosted.org/usermode/
@ -60,12 +60,9 @@ for wrappedapp in halt reboot poweroff ; do
done
echo 'USER=root' > $RPM_BUILD_ROOT/etc/security/console.apps/config-util
for i in redhat-userinfo.desktop redhat-userpasswd.desktop; do
echo 'NoDisplay=true' >>$RPM_BUILD_ROOT%{_datadir}/applications/$i
done
for i in redhat-userinfo.desktop redhat-userpasswd.desktop \
redhat-usermount.desktop; do
echo 'NotShowIn=GNOME;KDE;' >>$RPM_BUILD_ROOT%{_datadir}/applications/$i
desktop-file-install --vendor redhat --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/$i
@ -112,6 +109,11 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/applications/*
%changelog
* Thu Nov 6 2008 Miloslav Trmač <mitr@redhat.com> - 1.98.1-2
- Hide usermount from GNOME and KDE menus
Resolves: #440029
- Only hide userinfo and userpasswd in GNOME and KDE
* Tue Oct 28 2008 Miloslav Trmač <mitr@redhat.com> - 1.98.1-1
- Update to usermode-1.98.1-1