Adapt to firefox desktop file name change in F17

Starting with firefox-7.0.1-3.fc17, the desktop file was renamed from
mozilla-firefox.desktop -> firefox.desktop.

https://bugzilla.redhat.com/show_bug.cgi?id=736558
https://bugzilla.redhat.com/show_bug.cgi?id=808497
This commit is contained in:
Kalev Lember 2012-03-30 17:15:41 +03:00
parent 5dc8a039ab
commit 9d017bd59a
6 changed files with 6 additions and 6 deletions

View File

@ -54,7 +54,7 @@ if [ -f /usr/share/applications/liveinst.desktop ]; then
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
[org.gnome.shell] [org.gnome.shell]
favorite-apps=['mozilla-firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'openoffice.org-writer.desktop', 'nautilus.desktop', 'anaconda.desktop'] favorite-apps=['firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'openoffice.org-writer.desktop', 'nautilus.desktop', 'anaconda.desktop']
FOE FOE
fi fi

View File

@ -100,7 +100,7 @@ if [ -f /usr/share/applications/liveinst.desktop ]; then
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
[org.gnome.shell] [org.gnome.shell]
favorite-apps=['mozilla-firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'openoffice.org-writer.desktop', 'nautilus.desktop', 'inkscape-course.desktop', 'anaconda.desktop'] favorite-apps=['firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'openoffice.org-writer.desktop', 'nautilus.desktop', 'inkscape-course.desktop', 'anaconda.desktop']
FOE FOE
# add installer to user menu # add installer to user menu

View File

@ -142,7 +142,7 @@ FOE
# set up preferred apps # set up preferred apps
cat > /etc/xdg/libfm/pref-apps.conf << FOE cat > /etc/xdg/libfm/pref-apps.conf << FOE
[Preferred Applications] [Preferred Applications]
WebBrowser=mozilla-firefox.desktop WebBrowser=firefox.desktop
MailClient=redhat-sylpheed.desktop MailClient=redhat-sylpheed.desktop
FOE FOE

View File

@ -61,7 +61,7 @@ FOE
# Add favourite apps to MyZone # Add favourite apps to MyZone
mkdir -p /etc/skel/.local/share/ mkdir -p /etc/skel/.local/share/
cat > /etc/skel/.local/share/favourite-apps << FOE cat > /etc/skel/.local/share/favourite-apps << FOE
file:///usr/share/applications/moblin-app-installer.desktop file:///usr/share/applications/anjal.desktop file:///usr/share/applications/mozilla-firefox.desktop file:///usr/share file:///usr/share/applications/moblin-app-installer.desktop file:///usr/share/applications/anjal.desktop file:///usr/share/applications/firefox.desktop file:///usr/share
/applications/fedora-empathy.desktop file:///usr/share/applications/hornsey.desktop file:///usr/share/applications/fedora-dates.desktop file:///usr/share/applications/fedora-con /applications/fedora-empathy.desktop file:///usr/share/applications/hornsey.desktop file:///usr/share/applications/fedora-dates.desktop file:///usr/share/applications/fedora-con
tacts.desktop file:///usr/share/applications/fedora-tasks.desktop tacts.desktop file:///usr/share/applications/fedora-tasks.desktop
FOE FOE

View File

@ -343,7 +343,7 @@ FOE
# set up preferred apps # set up preferred apps
cat > /etc/xdg/libfm/pref-apps.conf << FOE cat > /etc/xdg/libfm/pref-apps.conf << FOE
[Preferred Applications] [Preferred Applications]
WebBrowser=mozilla-firefox.desktop WebBrowser=firefox.desktop
MailClient=redhat-sylpheed.desktop MailClient=redhat-sylpheed.desktop
FOE FOE

View File

@ -114,7 +114,7 @@ if [ -f /usr/share/applications/liveinst.desktop ]; then
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
[org.gnome.shell] [org.gnome.shell]
favorite-apps=['mozilla-firefox.desktop', 'eclipse.desktop', 'arduino.desktop', 'gnome-terminal.desktop','nautilus.desktop', 'anaconda.desktop'] favorite-apps=['firefox.desktop', 'eclipse.desktop', 'arduino.desktop', 'gnome-terminal.desktop','nautilus.desktop', 'anaconda.desktop']
FOE FOE
fi fi