[updpkg] todesk-bin 1.2.1b

This commit is contained in:
yjun 2020-12-31 12:48:23 +08:00
parent 0ba335fc16
commit 07947633c7
3 changed files with 10 additions and 5 deletions

View file

@ -1,6 +1,6 @@
pkgbase = todesk-bin
pkgdesc = Remote control and team work
pkgver = 1.2.0
pkgver = 1.2.1b
pkgrel = 1
url = https://www.todesk.cn/
install = todesk.install
@ -11,8 +11,8 @@ pkgbase = todesk-bin
depends = freetype2
provides = todesk
conflicts = todesk
source = https://update.todesk.com/todesk_1.2.0.deb
sha256sums = 7d14ee8cfd3312e75be620b2f7441d81206827e3df01c12d3a9ed90c23140330
source = https://update.todesk.com/todesk_1.2.1b.deb
sha256sums = 9d77ccbb624e1a3ddc7bfb20c0967f35f8f7adfd35fee555f76586ce06e5294e
pkgname = todesk-bin

View file

@ -2,7 +2,7 @@
pkgname=todesk-bin
_pkgname=${pkgname%-bin}
pkgver=1.2.0
pkgver=1.2.1b
pkgrel=1
pkgdesc="Remote control and team work"
arch=('x86_64')
@ -15,7 +15,7 @@ provides=("${_pkgname}")
conflicts=("${_pkgname}")
install="${_pkgname}.install"
source=("https://update.todesk.com/${_pkgname}_${pkgver}.deb")
sha256sums=('7d14ee8cfd3312e75be620b2f7441d81206827e3df01c12d3a9ed90c23140330')
sha256sums=('9d77ccbb624e1a3ddc7bfb20c0967f35f8f7adfd35fee555f76586ce06e5294e')
build() {
mkdir -p ${srcdir}/build

View file

@ -1,4 +1,9 @@
post_install() {
systemctl daemon-reload
if systemctl -q is-active todeskd.service ;then
systemctl restart todeskd.service
fi
ECHOLEN=$(echo -e|awk '{print length($0)}')
if [ ${ECHOLEN} = '0' ]
then