Accepting request 638618 from home:xiaoguang_wang:branches:GNOME:Factory

- Update set_trusted.desktop and set_trusted.sh: Move
  set_trusted.desktop file to /etc/skel/.config/autostart
  (bsc#1103523 bsc#1107854).

OBS-URL: https://build.opensuse.org/request/show/638618
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/nautilus?expand=0&rev=299
This commit is contained in:
Luciano Santos 2018-09-27 23:55:41 +00:00 committed by Git OBS Bridge
parent fd8fb4335d
commit 3f424ebdd9
3 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 27 02:28:38 UTC 2018 - xwang@suse.com
- Update set_trusted.desktop and set_trusted.sh: Move
set_trusted.desktop file to /etc/skel/.config/autostart
(bsc#1103523 bsc#1107854).
-------------------------------------------------------------------
Sun Sep 16 14:33:02 UTC 2018 - badshah400@gmail.com

View File

@ -131,8 +131,8 @@ mkdir -p %{buildroot}/%{_libdir}/nautilus/extensions-3.0
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}
%if !0%{?is_opensuse}
mkdir -p %{buildroot}%{_sysconfdir}/xdg/autostart
install -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/xdg/autostart/set_trusted.desktop
mkdir -p %{buildroot}%{_sysconfdir}/skel/.config/autostart
install -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/skel/.config/autostart/set_trusted.desktop
mkdir -p %{buildroot}%{_bindir}
install -m0755 %{SOURCE3} %{buildroot}%{_bindir}/set_trusted.sh
%endif
@ -153,7 +153,8 @@ install -m0755 %{SOURCE3} %{buildroot}%{_bindir}/set_trusted.sh
%{_datadir}/metainfo/org.gnome.Nautilus.appdata.xml
%{_mandir}/man1/nautilus*.1%{ext_man}
%if !0%{?is_opensuse}
%{_sysconfdir}/xdg/autostart/set_trusted.desktop
%{_sysconfdir}/skel/.config/autostart
%{_sysconfdir}/skel/.config/autostart/set_trusted.desktop
%{_bindir}/set_trusted.sh
%endif

View File

@ -7,3 +7,7 @@ do
gio set -t string $DIR/$f "metadata::trusted" yes
done
if [ -f $HOME/.config/autostart/set_trusted.desktop ]; then
rm $HOME/.config/autostart/set_trusted.desktop
fi