[hafqa] [hafqa] [Bug 3601] rhapsody-installer does not own its .desktop file

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Mon Aug 25 12:39:20 EEST 2008
https://bugs.maemo.org/show_bug.cgi?id=3601


eero.tamminen at nokia.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eero.tamminen at nokia.com,
                   |                            |kimmo.hamalainen at nokia.com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|moreinfo                    |




------- Comment #7 from eero.tamminen at nokia.com  2008-08-25 12:39 GMT+3 -------
Uh, I looked what the rhapsody installer actually does.

It has /var/lib/dpkg/info/rhapsody-installer.postinst script that adds couple
of things to sudoes file and then it has /usr/bin/rhapsody-installer.sh script
that under sudo moves the rhapsody.desktop file to where desktop files are if
that doesn't already exist and "region" returns "yes" (badly named binary,
it tells whether it's US device).  It doesn't remove the sudoers lines in
postrm.

/etc/osso-af-init/real-af-startup script seems then to run
the rhapsody-installer.sh script on first bootup.

This seems Byzantine.  Not showing the rhapsody installer might have
been done just by installing the .desktop file and removing it on first
boot if the region user selected isn't right.  Or if the installer could
be installed afterwards, checking in postinst whether the region is right
and failing postinst if it isn't.  real-af-startup could also use something
like what init does ("for script in /etc/first-bootup/*.sh...") for the first
bootup stuff so that it's independent from other packages.

I guess currently the actual rhapsody package overwrites the rhapsody.desktop
file that the installer copied for itself.  Better would be if rhapsody
package would just conflict/replace the installer so that it (along with
its own .desktop file) would get uninstalled.


Are there any issues that current .desktop file would cause or could this
be marked as an enhancement?  (If there're issues, I think it would be
better to create a new proper bug report with above details and description
of the issue(s) it causes + invalidate this bug.)


-- 
Configure bugmail: https://bugs.maemo.org/userprefs.cgi?tab=email
Replies to this email are NOT read, instead please add comments at
https://bugs.maemo.org/show_bug.cgi?id=3601
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list