Author: julien Date: 2007-01-10 19:58:17 -0500 (Wed, 10 Jan 2007) New Revision: 4198
Modified: branches/etch/app/xterm/debian/changelog branches/etch/app/xterm/debian/xterm.postinst Log: * Make test for broken alternatives symlink more robust (closes: #405458). Modified: branches/etch/app/xterm/debian/changelog =================================================================== --- branches/etch/app/xterm/debian/changelog 2007-01-10 12:20:45 UTC (rev 4197) +++ branches/etch/app/xterm/debian/changelog 2007-01-11 00:58:17 UTC (rev 4198) @@ -1,3 +1,9 @@ +xterm (222-1etch2) testing; urgency=low + + * Make test for broken alternatives symlink more robust (closes: #405458). + + -- Julien Cristau <[EMAIL PROTECTED]> Wed, 10 Jan 2007 17:05:49 +0100 + xterm (222-1etch1) testing; urgency=low * Use x-terminal-emulator.1.gz as slave alternative, instead of Modified: branches/etch/app/xterm/debian/xterm.postinst =================================================================== --- branches/etch/app/xterm/debian/xterm.postinst 2007-01-10 12:20:45 UTC (rev 4197) +++ branches/etch/app/xterm/debian/xterm.postinst 2007-01-11 00:58:17 UTC (rev 4198) @@ -37,8 +37,8 @@ # to the absence of the x-terminal-emulator.1.gz symbolic link after the # upgrade, so we check for this situation and add it back if necessary. # This can be removed after the release of etch. -if ! [ -e /usr/share/man/man1/x-terminal-emulator.1.gz ]; then - ln -s /etc/alternatives/x-terminal-emulator.1.gz /usr/share/man/man1 +if ! [ -h /usr/share/man/man1/x-terminal-emulator.1.gz ]; then + ln -sf /etc/alternatives/x-terminal-emulator.1.gz /usr/share/man/man1 fi #DEBHELPER# -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

