Skip to content

Commit

Permalink
Don't overwrite initscript if it already exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebrady committed May 22, 2014
1 parent 38a2496 commit 0b76975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ bin_PROGRAMS = shairport
shairport_SOURCES = shairport.c rtsp.c mdns.c mdns_external.c mdns_tinysvcmdns.c common.c rtp.c player.c alac.c audio.c audio_dummy.c audio_pipe.c tinysvcmdns.c mdns_avahi.c

install-exec-hook:
cp scripts/shairport /etc/init.d/
[ -f /etc/init.d/shairport ] || cp scripts/shairport /etc/init.d/
update-rc.d shairport defaults 90 10

if USE_ALSA
Expand Down

0 comments on commit 0b76975

Please sign in to comment.