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

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

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
inherit desktop unpacker xdg inherit unpacker xdg
DESCRIPTION="Kontur.Talk" DESCRIPTION="Kontur.Talk"
HOMEPAGE="https://ktalk.ru" HOMEPAGE="https://ktalk.ru"
@ -38,8 +38,9 @@ pkg_postinst() {
if type update-alternatives 2>/dev/null >&1; then if type update-alternatives 2>/dev/null >&1; then
# Remove previous link if it doesn't use update-alternatives # 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 if [ -L '/usr/bin/ktalk' -a -e '/usr/bin/ktalk' -a "`readlink '/usr/bin/ktalk'`" \
rm -f '/usr/bin/ktalk' != '/etc/alternatives/ktalk' ]; then
rm -f '/usr/bin/ktalk'
fi fi
update-alternatives --install '/usr/bin/ktalk' 'ktalk' '/opt/Толк/ktalk' 100 update-alternatives --install '/usr/bin/ktalk' 'ktalk' '/opt/Толк/ktalk' 100
else else
Loading…
Cancel
Save