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:20:50 -08:00
parent 8fa7fd90c5
commit 2b72cd2e95
No known key found for this signature in database
GPG Key ID: 5E528174D8A2609A

View File

@ -12,9 +12,6 @@
part / --size 14336 part / --size 14336
%post %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 # Add link to lists of tutorials
cat >> /usr/share/applications/list-design-tutorials.desktop << FOE cat >> /usr/share/applications/list-design-tutorials.desktop << FOE
[Desktop Entry] [Desktop Entry]
@ -68,4 +65,7 @@ FOE
# rebuild schema cache with any overrides we installed # rebuild schema cache with any overrides we installed
glib-compile-schemas /usr/share/glib-2.0/schemas 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 %end