blob: 0aaf38dcf63d1e15568f19ae18c749c0a8cf1fb2 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
--- lib/apex/Makefile.old 2007-08-24 04:41:58.000000000 +0200
+++ lib/apex/Makefile 2007-08-24 04:43:01.000000000 +0200
@@ -10,10 +10,10 @@
install-posthook:
if [ "x$(SETEGID)" != "x" ]; then \
- printf "%10s %-20s\n" TOUCH ${DATA_PATH}/apex/scores.raw; \
+ printf "%10s %-20s\n" TOUCH ${DESTDIR}${DATA_PATH}/apex/scores.raw; \
if [ "x$(DRY)" = "x" ]; then \
- touch ${DATA_PATH}/apex/scores.raw; \
- chown -R root:${SETEGID} ${DATA_PATH}/apex; \
- chmod -R g+w ${DATA_PATH}/apex; \
+ touch ${DESTDIR}${DATA_PATH}/apex/scores.raw; \
+ chown -R root:${SETEGID} ${DESTDIR}${DATA_PATH}/apex; \
+ chmod -R g+w ${DESTDIR}${DATA_PATH}/apex; \
fi; \
fi;
--- lib/bone/Makefile.old 2007-08-24 04:49:01.000000000 +0200
+++ lib/bone/Makefile 2007-08-24 04:49:29.000000000 +0200
@@ -9,7 +9,7 @@
install-posthook:
if [ "x$(SETEGID)" != "x" ]; then \
if [ "x$(DRY)" = "x" ]; then \
- chown root:${SETEGID} ${DATA_PATH}/bone; \
- chmod 070 ${DATA_PATH}/bone; \
+ chown root:${SETEGID} ${DESTDIR}${DATA_PATH}/bone; \
+ chmod 070 ${DESTDIR}${DATA_PATH}/bone; \
fi; \
fi
--- lib/data/Makefile.old 2007-08-24 04:52:30.000000000 +0200
+++ lib/data/Makefile 2007-08-24 04:53:41.000000000 +0200
@@ -15,21 +15,21 @@
if [ "x$(SETEGID)" != "x" ]; then \
printf "%10s %s*.raw\n" TOUCH ${DATA_PATH}/data/; \
if [ "x$(DRY)" = "x" ]; then \
- touch ${DATA_PATH}/data/artifact.raw; \
- touch ${DATA_PATH}/data/cost_adj.raw; \
- touch ${DATA_PATH}/data/ego_item.raw; \
- touch ${DATA_PATH}/data/flavor.raw; \
- touch ${DATA_PATH}/data/limits.raw; \
- touch ${DATA_PATH}/data/monster.raw; \
- touch ${DATA_PATH}/data/object.raw; \
- touch ${DATA_PATH}/data/p_class.raw; \
- touch ${DATA_PATH}/data/p_hist.raw; \
- touch ${DATA_PATH}/data/p_race.raw; \
- touch ${DATA_PATH}/data/prices.raw; \
- touch ${DATA_PATH}/data/shop_own.raw; \
- touch ${DATA_PATH}/data/terrain.raw; \
- touch ${DATA_PATH}/data/vault.raw; \
- chown -R root:${SETEGID} ${DATA_PATH}/data; \
- chmod -R g+w ${DATA_PATH}/data; \
+ touch ${DESTDIR}${DATA_PATH}/data/artifact.raw; \
+ touch ${DESTDIR}${DATA_PATH}/data/cost_adj.raw; \
+ touch ${DESTDIR}${DATA_PATH}/data/ego_item.raw; \
+ touch ${DESTDIR}${DATA_PATH}/data/flavor.raw; \
+ touch ${DESTDIR}${DATA_PATH}/data/limits.raw; \
+ touch ${DESTDIR}${DATA_PATH}/data/monster.raw; \
+ touch ${DESTDIR}${DATA_PATH}/data/object.raw; \
+ touch ${DESTDIR}${DATA_PATH}/data/p_class.raw; \
+ touch ${DESTDIR}${DATA_PATH}/data/p_hist.raw; \
+ touch ${DESTDIR}${DATA_PATH}/data/p_race.raw; \
+ touch ${DESTDIR}${DATA_PATH}/data/prices.raw; \
+ touch ${DESTDIR}${DATA_PATH}/data/shop_own.raw; \
+ touch ${DESTDIR}${DATA_PATH}/data/terrain.raw; \
+ touch ${DESTDIR}${DATA_PATH}/data/vault.raw; \
+ chown -R root:${SETEGID} ${DESTDIR}${DATA_PATH}/data; \
+ chmod -R g+w ${DESTDIR}${DATA_PATH}/data; \
fi; \
fi
--- lib/save/Makefile.old 2007-08-24 04:55:50.000000000 +0200
+++ lib/save/Makefile 2007-08-24 04:56:13.000000000 +0200
@@ -8,7 +8,7 @@
install-posthook:
if [ "x$(SETEGID)" != "x" ]; then \
if [ "x$(DRY)" = "x" ]; then \
- chown root:${SETEGID} ${DATA_PATH}/save; \
- chmod 070 ${DATA_PATH}/save; \
+ chown root:${SETEGID} ${DESTDIR}${DATA_PATH}/save; \
+ chmod 070 ${DESTDIR}${DATA_PATH}/save; \
fi; \
fi
|