diff --git a/net-im/ktalk/ktalk-2.8.0.ebuild b/net-im/ktalk/ktalk-2.8.0-r1.ebuild similarity index 93% rename from net-im/ktalk/ktalk-2.8.0.ebuild rename to net-im/ktalk/ktalk-2.8.0-r1.ebuild index 32c854f..183c6be 100644 --- a/net-im/ktalk/ktalk-2.8.0.ebuild +++ b/net-im/ktalk/ktalk-2.8.0-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit desktop unpacker xdg +inherit unpacker xdg DESCRIPTION="Kontur.Talk" HOMEPAGE="https://ktalk.ru" @@ -38,8 +38,9 @@ pkg_postinst() { if type update-alternatives 2>/dev/null >&1; then # Remove previous link if it doesn't use update-alternatives - if [ -L '/usr/bin/ktalk' -a -e '/usr/bin/ktalk' -a "`readlink '/usr/bin/ktalk'`" != '/etc/alternatives/ktalk' ]; then - rm -f '/usr/bin/ktalk' + if [ -L '/usr/bin/ktalk' -a -e '/usr/bin/ktalk' -a "`readlink '/usr/bin/ktalk'`" \ + != '/etc/alternatives/ktalk' ]; then + rm -f '/usr/bin/ktalk' fi update-alternatives --install '/usr/bin/ktalk' 'ktalk' '/opt/Толк/ktalk' 100 else