Minor fix. I'm using this in my RPM specfile. John --- ./zaptel-1.0-RC1/Makefile.bigu 2004-07-16 17:09:07.000000000 -0500 +++ ./zaptel-1.0-RC1/Makefile 2004-08-18 16:28:45.000000000 -0500 @@@ -316,10 +318,10 @@ elif [ -d $(INSTALL_PREFIX)/etc/init.d ]; then \ install -m 755 zaptel.init $(INSTALL_PREFIX)/etc/init.d/zaptel;\ \ fi - if [ ! -f /etc/sysconfig/zaptel ]; then \ + if [ ! -f $(INSTALL_PREFIX)/etc/sysconfig/zaptel ]; then \ install -m 644 zaptel.sysconfig $(INSTALL_PREFIX)/etc/sysconfig\ /zaptel; \ fi - if [ -d /etc/sysconfig/network-scripts ]; then \ + if [ -d $(INSTALL_PREFIX)/etc/sysconfig/network-scripts ]; then \ install -m 755 ifup-hdlc $(INSTALL_PREFIX)/etc/sysconfig/networ\ k-scripts/ifup-hdlc; \ fi
Tony Mountifield
2004-Aug-18 23:44 UTC
[Asterisk-Users] Re: Small patch to zaptel Makefile
In article <4123CBAD.6060903@butchwax.com>, John Morris <asterisk@butchwax.com> wrote:> Minor fix. I'm using this in my RPM specfile.For this to get acted upon, you need to post it to bugs.digium.com Cheers Tony> John > > > --- ./zaptel-1.0-RC1/Makefile.bigu 2004-07-16 17:09:07.000000000 -0500 > +++ ./zaptel-1.0-RC1/Makefile 2004-08-18 16:28:45.000000000 -0500 > @@@ -316,10 +318,10 @@ > elif [ -d $(INSTALL_PREFIX)/etc/init.d ]; then \ > install -m 755 zaptel.init > $(INSTALL_PREFIX)/etc/init.d/zaptel;\ > \ > fi > - if [ ! -f /etc/sysconfig/zaptel ]; then \ > + if [ ! -f $(INSTALL_PREFIX)/etc/sysconfig/zaptel ]; then \ > install -m 644 zaptel.sysconfig > $(INSTALL_PREFIX)/etc/sysconfig\ > /zaptel; \ > fi > - if [ -d /etc/sysconfig/network-scripts ]; then \ > + if [ -d $(INSTALL_PREFIX)/etc/sysconfig/network-scripts ]; then \ > install -m 755 ifup-hdlc > $(INSTALL_PREFIX)/etc/sysconfig/networ\ > k-scripts/ifup-hdlc; \ > fi > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Tony Mountifield Work: tony@softins.co.uk - http://www.softins.co.uk Play: tony@mountifield.org - http://tony.mountifield.org
Possibly Parallel Threads
- (Resend) Trouble with all linux sip softphones.... And asterisk/linphone/kphone SRPMs
- Trouble with all linux sip softphones.... And asterisk/linphone/kphone SRPMs
- asterisk-addons unable to compile
- Dovecot v1.2 share user Maildir problems with %%h
- SuSE & Zaptel Compilation errors