Commit f2bb3d60 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

use temporary file and mv to replace feh binary in case it is currently running

parent 528616b3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -58,7 +58,8 @@ install-doc:
install-bin:
	@echo installing executables to ${bin_dir}
	@mkdir -p ${bin_dir}
	@cp src/feh ${bin_dir}
	@cp src/feh ${bin_dir}/feh.tmp
	@mv ${bin_dir}/feh.tmp ${bin_dir}/feh
	@chmod 755 ${bin_dir}/feh

install-font: