Changeset 900


Ignore:
Timestamp:
05/22/13 13:17:06 (8 years ago)
Author:
ramonb
Message:

Makefile:

  • debian can have /etc/sysconfig dir
  • changed redhat detection to check for /etc/redhat_release
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/Makefile

    r894 r900  
    9090        @(cd $(DESTDIR)$(PREFIX)/sbin/; ln -s jobmond.py jobmond; ln -s jobarchived.py jobarchived)
    9191        @#
    92         @# Files specific to distros if /etc/sysconfig => rpm else (/etc/default => debian)
     92        @# Files specific to distros if /etc/redhat_release => rpm else (/etc/debian_version => debian)
    9393        @#
    9494        @echo
    9595        @echo "Installing service files in /etc"
    96         @if test -d /etc/sysconfig; then \
     96        @if test -r /etc/redhat_release; then \
    9797                install -m 0755 -d $(DESTDIR)/etc/rc.d/init.d; \
    9898                install -m 0755 pkg/rpm/init.d/jobmond $(DESTDIR)/etc/rc.d/init.d/; \
Note: See TracChangeset for help on using the changeset viewer.