fix: permission issues in ubuntu font and wallpapers spec

This commit is contained in:
lili 2023-06-30 03:39:55 -03:00
parent abafb6298d
commit 7b5078f71e
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -22,7 +22,7 @@ tar xzf %{SOURCE0} -C %{buildroot}%{_datadir}/backgrounds --directory ./%{VENDOR
%files
%license LICENSE
%attr(0644,root,root) %{_datadir}/backgrounds/%{VENDOR}/*
%attr(0755,root,root) %{_datadir}/backgrounds/%{VENDOR}/*
%exclude %{_datadir}/backgrounds/%{VENDOR}/LICENSE
%changelog

View file

@ -20,6 +20,7 @@ mv "/tmp/inter/Inter Desktop/" "$FILES_ROOT/usr/share/fonts"
wget -O /tmp/ubuntu.zip 'https://assets.ubuntu.com/v1/0cef8205-ubuntu-font-family-0.83.zip'
unzip /tmp/ubuntu.zip -d "/tmp/ubuntu"
rm -rf /tmp/ubuntu/__MACOSX
chmod 755 /tmp/ubuntu/*
mv /tmp/ubuntu/* "$FILES_ROOT/usr/share/fonts"
wget -O /tmp/intelmono.zip 'https://github.com/intel/intel-one-mono/releases/latest/download/ttf.zip'