Fix 2 bugs in /usr/sbin/update-seamonkey.sh

versatile 64-bit multi-user Linux distribution


Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
tatemono
Posts: 31
Joined: Sat Oct 08, 2022 10:25 am
Has thanked: 18 times
Been thanked: 11 times

Fix 2 bugs in /usr/sbin/update-seamonkey.sh

Post by tatemono »

[BUG 1] Running /usr/sbin/update-seamonkey.sh probably does not show 'You are already running the latest version' when your SeaMonkey is indeed the latest one.
[CAUSE] There is a readlink command in get_current_version(), an user-defined function in /usr/sbin/update-seamonkey.sh. The argument of that command is a relative path, not an absolute one, and that causes get_current_version() getting wrong data when the working directory of /usr/sbin/update-seamonkey.sh is not the root directory.

[BUG 2] The latest version of SeaMonkey is shown on https://www.seamonkey-project.org/ and it is 2.53.19 for the time being. However, the version of SeaMonkey installed is 2.53.18 after running /usr/sbin/update-seamonkey.sh.
[CAUSE] The archive site of SeaMonkey was moved. /usr/sbin/update-seamonkey.sh still uses the old and obsolete site. Please refer to https://blog.seamonkey-project.org/2023 ... zilla-org/ for the details of archive site migration.

[FIX] Please save the attached file, PATCH.TXT, and issue the following command to fix the above-mentioned 2 bugs in /usr/sbin/update-seamonkey.sh.

patch /usr/sbin/update-seamonkey.sh < PATCH.TXT

Attachments
PATCH.TXT
(1.67 KiB) Downloaded 16 times
Last edited by tatemono on Sat Oct 12, 2024 1:44 am, edited 1 time in total.
step
Posts: 576
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 63 times
Been thanked: 213 times
Contact:

Re: Fix 2 bugs in /usr/sbin/update-seamonkey.sh

Post by step »

On behalf of the Fatdog team, thank you @tatemono for reporting the issues and offering a fix.

Post Reply

Return to “FatDog64”