Avoid overwriting ls-R files
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-filesystem?expand=0&rev=82
This commit is contained in:
parent
47ccd8164c
commit
d228df6077
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 23 09:52:35 UTC 2017 - werner@suse.de
|
||||||
|
|
||||||
|
- Avoid overwriting ls-R files
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 18 07:06:21 UTC 2017 - werner@suse.de
|
Fri Aug 18 07:06:21 UTC 2017 - werner@suse.de
|
||||||
|
|
||||||
|
@ -13819,10 +13819,10 @@ popd
|
|||||||
(cat > %{buildroot}%{_sysconfdir}/permissions.d/texlive.texlive) <<-EOF
|
(cat > %{buildroot}%{_sysconfdir}/permissions.d/texlive.texlive) <<-EOF
|
||||||
%{_libexecdir}/mktex/public root:%{texgrp} 2755
|
%{_libexecdir}/mktex/public root:%{texgrp} 2755
|
||||||
%{_texmfconfdir}/ls-R root:%{texgrp} 0664
|
%{_texmfconfdir}/ls-R root:%{texgrp} 0664
|
||||||
|
%{_fontcache}/ls-R root:%{texgrp} 0664
|
||||||
%{_texmfvardir}/ls-R root:%{texgrp} 0664
|
%{_texmfvardir}/ls-R root:%{texgrp} 0664
|
||||||
%{_texmfvardir}/dist/ls-R root:%{texgrp} 0664
|
%{_texmfvardir}/dist/ls-R root:%{texgrp} 0664
|
||||||
%{_texmfvardir}/main/ls-R root:%{texgrp} 0664
|
%{_texmfvardir}/main/ls-R root:%{texgrp} 0664
|
||||||
%{_fontcache}/ls-R root:%{texgrp} 0664
|
|
||||||
%{_texmfvardir}/ root:root 1755
|
%{_texmfvardir}/ root:root 1755
|
||||||
%{_texmfvardir}/dist/ root:root 1755
|
%{_texmfvardir}/dist/ root:root 1755
|
||||||
%{_texmfvardir}/main/ root:root 1755
|
%{_texmfvardir}/main/ root:root 1755
|
||||||
@ -13839,10 +13839,10 @@ popd
|
|||||||
(cat > %{buildroot}%{_sysconfdir}/permissions.d/texlive) <<-EOF
|
(cat > %{buildroot}%{_sysconfdir}/permissions.d/texlive) <<-EOF
|
||||||
%{_libexecdir}/mktex/public root:%{texgrp} 0755
|
%{_libexecdir}/mktex/public root:%{texgrp} 0755
|
||||||
%{_texmfconfdir}/ls-R root:%{texgrp} 0664
|
%{_texmfconfdir}/ls-R root:%{texgrp} 0664
|
||||||
|
%{_fontcache}/ls-R root:%{texgrp} 0664
|
||||||
%{_texmfvardir}/ls-R root:%{texgrp} 0664
|
%{_texmfvardir}/ls-R root:%{texgrp} 0664
|
||||||
%{_texmfvardir}/dist/ls-R root:%{texgrp} 0664
|
%{_texmfvardir}/dist/ls-R root:%{texgrp} 0664
|
||||||
%{_texmfvardir}/main/ls-R root:%{texgrp} 0664
|
%{_texmfvardir}/main/ls-R root:%{texgrp} 0664
|
||||||
%{_fontcache}/ls-R root:%{texgrp} 0664
|
|
||||||
%{_texmfvardir}/ root:root 1755
|
%{_texmfvardir}/ root:root 1755
|
||||||
%{_texmfvardir}/dist/ root:root 1755
|
%{_texmfvardir}/dist/ root:root 1755
|
||||||
%{_texmfvardir}/main/ root:root 1755
|
%{_texmfvardir}/main/ root:root 1755
|
||||||
@ -13915,6 +13915,19 @@ fi
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
%fillup_only -n texlive
|
%fillup_only -n texlive
|
||||||
|
# the ls-R file (empty at package time)
|
||||||
|
for dir in %{_texmfconfdir} \
|
||||||
|
%{_fontcache} \
|
||||||
|
%{_texmfvardir} \
|
||||||
|
%{_texmfvardir}/dist \
|
||||||
|
%{_texmfvardir}/main
|
||||||
|
do
|
||||||
|
test ! -e ${dir}/ls-R || continue
|
||||||
|
echo '%% ls-R -- filename database for kpathsea; do not change this line.' > \
|
||||||
|
${dir}/ls-R
|
||||||
|
chown root:%{texgrp} ${dir}/ls-R
|
||||||
|
chmod 0664 ${dir}/ls-R
|
||||||
|
done
|
||||||
%if %{defined set_permissions}
|
%if %{defined set_permissions}
|
||||||
%set_permissions %{_texmfconfdir}/ls-R
|
%set_permissions %{_texmfconfdir}/ls-R
|
||||||
%set_permissions %{_texmfvardir}/
|
%set_permissions %{_texmfvardir}/
|
||||||
@ -24170,11 +24183,11 @@ rm -f /var/run/texlive/run-update
|
|||||||
%dir %{_texmfvardir}/md5
|
%dir %{_texmfvardir}/md5
|
||||||
%verify(link) %{_texmfmaindir}/ls-R
|
%verify(link) %{_texmfmaindir}/ls-R
|
||||||
%verify(link) %{_texmfdistdir}/ls-R
|
%verify(link) %{_texmfdistdir}/ls-R
|
||||||
%attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfconfdir}/ls-R
|
%ghost %config(noreplace) %attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfconfdir}/ls-R
|
||||||
%attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_fontcache}/ls-R
|
%ghost %config(noreplace) %attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_fontcache}/ls-R
|
||||||
%attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfvardir}/ls-R
|
%ghost %config(noreplace) %attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfvardir}/ls-R
|
||||||
%attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfvardir}/dist/ls-R
|
%ghost %config(noreplace) %attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfvardir}/dist/ls-R
|
||||||
%attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfvardir}/main/ls-R
|
%ghost %config(noreplace) %attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfvardir}/main/ls-R
|
||||||
%{_localstatedir}/adm/fillup-templates/sysconfig.texlive
|
%{_localstatedir}/adm/fillup-templates/sysconfig.texlive
|
||||||
/var/adm/update-scripts/%{name}-%{version}-%{release}-zypper
|
/var/adm/update-scripts/%{name}-%{version}-%{release}-zypper
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user