From a5d4e5cc98b8db4a2be6cd3353ae8ee475eb7807 Mon Sep 17 00:00:00 2001 From: tonton Th Date: Tue, 10 Sep 2019 16:18:33 +0200 Subject: [PATCH] do not install non-existant software --- install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index acc8ff2..23c8525 100755 --- a/install.sh +++ b/install.sh @@ -3,9 +3,14 @@ cp libfloatimg.a /usr/local/lib cp floatimg.h /usr/local/include -cp tools/mkfimg tools/fimg2pnm tools/addtga2fimg \ +cp tools/mkfimg tools/fimg2pnm \ tools/png2fimg tools/fimgstats \ /usr/local/bin cp v4l2/grabvidseq v4l2/video-infos \ /usr/local/bin + +A="tools/addtga2fimg" +if [ -r $A ] ; then + cp $A /usr/local/bin +fi