Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=e515c96e2d05f45aafd6c9738f894a371465c5de
commit e515c96e2d05f45aafd6c9738f894a371465c5de Author: Priyank <[email protected]> Date: Sat Mar 14 00:41:18 2009 +0530 pipslite-1.0.0-2-i686 * Fix broken rc.ekpd and add status checking support diff --git a/source/xapps-extra/pipslite/FrugalBuild b/source/xapps-extra/pipslite/FrugalBuild index 85faeab..fa59b7d 100644 --- a/source/xapps-extra/pipslite/FrugalBuild +++ b/source/xapps-extra/pipslite/FrugalBuild @@ -3,7 +3,7 @@ pkgname=pipslite pkgver=1.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="Epson Photo Image Print System for Linux." url="http://avasys.jp/english" depends=('cups' 'gtk+') @@ -12,6 +12,9 @@ archs=('i686' 'x86_64') backup=('etc/ekpdrc') up2date=$pkgver source=(http://lx2.avasys.jp/pips/lite$pkgver/pipslite-$pkgver.tar.gz rc.ekpd pipslite_compile.diff) +sha1sums=('84d5e2b753f4048271cbdbb76d982fe29917b839'\ + '6f442045b9a2084ba227b4a8e2509e63d796753c'\ + 'dc332bcfe2d45889b6278e9fa8656eecd183ff9b') build() { unset MAKEFLAGS @@ -20,8 +23,6 @@ build() { Fbuild Frcd2 ekpd } -sha1sums=('84d5e2b753f4048271cbdbb76d982fe29917b839'\ - '8734d7ad7e835ee697b9ca759546cfeb6f196bb9'\ - 'dc332bcfe2d45889b6278e9fa8656eecd183ff9b') + # optimization OK diff --git a/source/xapps-extra/pipslite/rc.ekpd b/source/xapps-extra/pipslite/rc.ekpd index cd034cf..d44ad51 100644 --- a/source/xapps-extra/pipslite/rc.ekpd +++ b/source/xapps-extra/pipslite/rc.ekpd @@ -1,7 +1,7 @@ #!/bin/bash # (c) 2007 Andras Voroskoi <[email protected]> -# rc.ekpd for FrugalWare +# rc.ekpd for Frugalware # distributed under GPL License # chkconfig: 2345 99 01 @@ -11,15 +11,15 @@ source /lib/initscripts/functions TEXTDOMAIN=ekpd TEXTDOMAINDIR=/lib/initscripts/messages -actions=(restart start stop) +actions=(restart start stop status) daemon=$"ekpd services" -pid="$(pidof ekpd 2> /dev/null)" +pid="pidof ekpd 2> /dev/null" rc_start() { start_msg - if [ -z ${pid} ] ; then + if [ -z "$(eval $pid)" ] ; then /usr/local/EPAva/printer/ekpd ok $? else @@ -30,7 +30,7 @@ rc_start() rc_stop() { stop_msg - if [ ! -z ${pid} ] ; then + if [ ! -z "$(eval $pid)" ] ; then killall ekpd ok $? else @@ -39,3 +39,4 @@ rc_stop() } rc_exec $1 + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
