diff options
author | Uladzimir Panasiuk | 2019-03-12 10:16:40 +0300 |
---|---|---|
committer | Uladzimir Panasiuk | 2019-03-12 10:16:40 +0300 |
commit | a5442bf0a8a08874ca41b54070d5972455b3e35d (patch) | |
tree | fe2e0cea4aa37868cdaeebccbd64f8e5732fcb65 | |
parent | 874706987d122528ab0e403803a0338bbb9025f1 (diff) | |
download | aur-a5442bf0a8a08874ca41b54070d5972455b3e35d.tar.gz |
disabling ecbd.service autostart
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rwxr-xr-x[-rw-r--r--] | epson-printer-utility.install | 15 |
3 files changed, 11 insertions, 18 deletions
@@ -1,12 +1,12 @@ pkgbase = epson-printer-utility pkgdesc = This is a Printer Utility program for Epson. Using this software, you can check ink levels, view error and other status... on EPSON Printers. pkgver = 1.0.2 - pkgrel = 2 + pkgrel = 3 url = http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX install = epson-printer-utility.install arch = x86_64 license = LGPL - license = custom:Epson Licence Agreement + license = custom:Epson License Agreement depends = qt4 depends = ld-lsb=3 options = strip @@ -16,7 +16,7 @@ pkgbase = epson-printer-utility source = epson-printer-utility.desktop sha256sums = ecfe72484087bb1af5eb7ce83410f4efe96530f670a151ffeb9bad7b5b230650 sha256sums = 8cc99a3e68b3367f4a78c05b93fdbbdcded13302fac72daf20b5a0ec9c6c9d55 - sha256sums = c35c69fd16534c8e5b382e5918d921cf9a82d96b522833d50b652035f11eaa7c + sha256sums = 41d8ac5e491eebd1b2cd6e6cf48ca9d5641dd28c3cf9885bb4263aec31fd03a0 sha256sums = 9ec18291dfc6b886be438883a0b8e5d3f4eb7dfc570bc4b8c9dbe5dfc1d33e9f pkgname = epson-printer-utility @@ -2,21 +2,21 @@ pkgname=epson-printer-utility pkgver=1.0.2 -pkgrel=2 +pkgrel=3 pkgdesc='This is a Printer Utility program for Epson. Using this software, you can check ink levels, view error and other status... on EPSON Printers.' arch=('x86_64') url='http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX' -license=('LGPL' 'custom:Epson Licence Agreement') +license=('LGPL' 'custom:Epson License Agreement') options=('strip') depends=('qt4' 'ld-lsb=3') -install=$pkgname.install +install="$pkgname.install" source=("https://download3.ebz.epson.net/dsc/f/03/00/09/02/33/71b2905a4cdf07374e83281333a767b24b57bc2d/${pkgname}_${pkgver}-1lsb3.2_amd64.deb" 'ecbd.service' "$pkgname.install" "$pkgname.desktop") sha256sums=('ecfe72484087bb1af5eb7ce83410f4efe96530f670a151ffeb9bad7b5b230650' '8cc99a3e68b3367f4a78c05b93fdbbdcded13302fac72daf20b5a0ec9c6c9d55' - 'c35c69fd16534c8e5b382e5918d921cf9a82d96b522833d50b652035f11eaa7c' + '41d8ac5e491eebd1b2cd6e6cf48ca9d5641dd28c3cf9885bb4263aec31fd03a0' '9ec18291dfc6b886be438883a0b8e5d3f4eb7dfc570bc4b8c9dbe5dfc1d33e9f') prepare() { diff --git a/epson-printer-utility.install b/epson-printer-utility.install index dd3805cc1cf..45b3d739275 100644..100755 --- a/epson-printer-utility.install +++ b/epson-printer-utility.install @@ -1,16 +1,9 @@ -SERVICE=ecbd.service - post_install() { - systemctl enable --now $SERVICE -} - -pre_remove() { - [[ $(systemctl is-enabled $SERVICE 1>/dev/null) ]] && systemctl disable --now $SERVICE + echo "The ecbd.service must be running for Epson Printer Utility to work." + echo "Execute 'sudo systemctl enable --now ecbd.service' in a terminal." } post_upgrade() { - if systemctl is-active $SERVICE 1>/dev/null; then - systemctl daemon-reload - systemctl restart $SERVICE - fi + post_install } + |