Revert removed workstation-release and fix post-installation

This commit restore workstation-release needed for workstation
base installation and attempt to fix post-installation favourite apps on
dash board.

Signed-off-by: Luya Tshimbalanga <luya@fedoraproject.org>
This commit is contained in:
Luya Tshimbalanga 2021-02-22 17:11:43 -08:00
parent e4a27d97db
commit 9f36177559
No known key found for this signature in database
GPG Key ID: 5E528174D8A2609A
1 changed files with 3 additions and 3 deletions

View File

@ -12,9 +12,6 @@
part / --size 14336
%post
#Override the favorite desktop application in Dash
sed -i "s/favorite-apps=."'*'"/favorite-apps=['firefox.desktop', 'shotwell.desktop', 'gimp.desktop', 'darktable.desktop','krita.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'pitivi.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']/" /etc/rc.d/init.d/livesys
# Add link to lists of tutorials
cat >> /usr/share/applications/list-design-tutorials.desktop << FOE
[Desktop Entry]
@ -68,4 +65,7 @@ FOE
# rebuild schema cache with any overrides we installed
glib-compile-schemas /usr/share/glib-2.0/schemas
#Override the favorite desktop application in Dash
sed -i "s/favorite-apps=."'*'"/favorite-apps=['firefox.desktop', 'shotwell.desktop', 'gimp.desktop', 'darktable.desktop','krita.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'pitivi.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']/" /etc/rc.d/init.d/livesys
%end