Hi Andrea: That works for me... :-) But remember that the spec file currently expects BitTorrent or bittorrent RPMs installed - I'm not sure if those RPMs are relocatable to /usr/local/bin...
Of course you can install with --nodeps --force :> Thanks, Bernard > -----Original Message----- > From: Andrea Righi [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 06, 2006 9:21 > To: Bernard Li > Cc: sisuite-devel@lists.sourceforge.net > Subject: Re: [Sisuite-devel] [systemimager-commits] r3613 - > in trunk: etc/init.d sbin > > ...and what about: > > BT_TRACKER_BIN=`(which bittorrent-tracker || which bttrack) > 2>/dev/null` > > (the same for maketorrent and launchmany) > > In this way it works also if you have bt binaries in > /usr/local/bin. ;-) > > Cheers, > -Andrea > > Bernard Li wrote: > > Hi Andrea: > > > > I propose changes similar to the following: > > > > if [ -x /usr/bin/bittorrent-tracker ]; then > > BT_TRACKER_BIN=/usr/bin/bittorrent-tracker > > else > > BT_TRACKER_BIN=/usr/bin/bttrack > > fi > > > > This prevents the following messages from showing up when > you execute /etc/init.dsystemimager-server-bittorrent [start|stop]: > > > > which: no maketorrent-console in > (/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:) > > which: no launchmany-console in > (/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:) > > which: no launchmany-curses in > (/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:) > > > > What do you think? > > > > Cheers, > > > > Bernard > > > _______________________________________________ Sisuite-devel mailing list Sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel