Changeset 543 for branches

Show
Ignore:
Timestamp:
07/19/04 21:04:35 (4 years ago)
Author:
aj
Message:

Only install hotplug files in writeable directory.
Change hotplug and init script to mode 755.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/openct-0.6/etc/Makefile.am

    r445 r543  
    1212noinst_SCRIPTS = hotplug.openct init-script 
    1313 
     14hotplug.openct: hotplug.openct.in 
     15        sed -e "s#SBINDIR#${sbindir}#g" $^ > $@ 
     16        chmod 755 hotplug.openct 
     17 
     18init-script: init-script.in 
     19        sed -e "s#SBINDIR#${sbindir}#g" $^ > $@ 
     20        chmod 755 init-script 
     21 
    1422%: %.in 
    1523        sed -e "s#SBINDIR#${sbindir}#g" $^ > $@ 
    1624 
    1725install-data-local: hotplug.openct 
    18         @set -e; if test -d $(DESTDIR)$(sysconfdir)/hotplug/usb; then \ 
     26        @set -e; if test -w $(DESTDIR)$(sysconfdir)/hotplug/usb; then \ 
    1927                echo install -m 644 openct.usermap $(DESTDIR)$(sysconfdir)/hotplug/usb; \ 
    2028                install -m 644 openct.usermap $(DESTDIR)$(sysconfdir)/hotplug/usb; \