blob: d33521024e5025545218bdc795c9ceaf91877f88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
$NetBSD: patch-ab,v 1.3 2004/02/28 23:50:59 heinz Exp $
--- files/install.sh.orig Mon May 19 14:34:10 2003
+++ files/install.sh
@@ -67,21 +67,24 @@ if [ ! -d ${PREFIX}/etc ]; then
${INSTALL} -d -o ${RO_USER} -g ${RO_GROUP} -m ${PUBLIC_DIR} ${PREFIX}/etc
fi
-if [ ! -d ${PREFIX}/certs ]; then
- ${INSTALL} -d -o ${RO_USER} -g ${RO_GROUP} -m ${PRIVATE_DIR} ${PREFIX}/certs
+if [ ! -d ${SSLCERTS} ]; then
+ ${BSD_INSTALL_DATA_DIR} ${SSLCERTS}
fi
if [ ! -d ${BIN_DIR} ]; then
${INSTALL} -d -o ${RO_USER} -g ${RO_GROUP} -m ${PRIVATE_DIR} ${BIN_DIR}
fi
+if [ ! -d "${PREFIX}/share/prayer" ]; then
+ mkdir "${PREFIX}/share/prayer"
+fi
for i in help icons
do
- if [ -d "${PREFIX}/${i}" ]; then
+ if [ -d "${PREFIX}/share/prayer/${i}" ]; then
echo Removing old ${i}
- rm -rf ${PREFIX}/${i}
+ rm -rf ${PREFIX}/share/prayer/${i}
fi
echo Copying ${i}
- (tar cf - ${i}) | (cd ${PREFIX} ; tar xf -)
- (cd ${PREFIX}; chown -R ${RO_USER}:${RO_GROUP} ${i})
+ (tar cf - ${i}) | (cd ${PREFIX}/share/prayer ; tar xf -)
+ (cd ${PREFIX}/share/prayer; chown -R ${RO_USER}:${RO_GROUP} ${i})
done
|