summaryrefslogtreecommitdiff
path: root/net-mgmt/arpalert/files/patch-install.sh.in
blob: b99a5e076832de4db295d7341e7446a33160d954 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- install.sh.in.orig	2011-11-08 19:36:51 UTC
+++ install.sh.in
@@ -33,16 +33,16 @@ mkdir -p ${DESTDIR}${includedir} 
 mkdir -p ${DESTDIR}${mandir}/man8
 
 # install man
-cp -f doc/arpalert.8 ${DESTDIR}${mandir}/man8
+install -m 0444 doc/arpalert.8 ${DESTDIR}${mandir}/man8
 
 # copy oui list
-cp -f etc/oui.txt ${DESTDIR}${config_dir}
+install -m 0444 etc/oui.txt ${DESTDIR}${config_dir}
 
 # copy API
-cp -f api/arpalert.h ${DESTDIR}${includedir}
+install -m 0444 api/arpalert.h ${DESTDIR}${includedir}
 
 # insall binary
-cp -f arpalert ${DESTDIR}${sbindir}
+install -s -m 0555 arpalert ${DESTDIR}${sbindir}
 
 # if doesn't exist conf
 if [ ! -f ${DESTDIR}${config_dir}/arpalert.conf ]; then