Добавление клиента ВКС Ktalk версии 2.8.0

master
serg-sg 5 months ago
parent 9ea4c02200
commit b80cad8915

@ -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
Loading…
Cancel
Save