View | Details | Raw Unified | Return to bug 178398
Collapse All | Expand All

(-)moosefs-chunkserver/Makefile (-1 / +1 lines)
Lines 42-48 Link Here
42
post-install:
42
post-install:
43
.for FILE in mfschunkserver mfshdd
43
.for FILE in mfschunkserver mfshdd
44
	@if [ ! -f ${PREFIX}/etc/${i}.cfg ]; then \
44
	@if [ ! -f ${PREFIX}/etc/${i}.cfg ]; then \
45
		${CP} ${PREFIX}/etc/${FILE}.cfg.dist ${PREFIX}/etc/${FILE}.cfg ; \
45
		${CP} ${PREFIX}/etc/mfs/${FILE}.cfg.dist ${PREFIX}/etc/${FILE}.cfg ; \
46
	fi
46
	fi
47
.endfor
47
.endfor
48
	@${CAT} ${PKGMESSAGE}
48
	@${CAT} ${PKGMESSAGE}
(-)moosefs-chunkserver/pkg-plist (-4 / +5 lines)
Lines 1-7 Link Here
1
@exec  if [ ! -f %D/etc/mfshdd.cfg ]; then /bin/cp %D/%F %D/etc/mfshdd.cfg; fi
1
@exec  if [ ! -f %D/etc/mfshdd.cfg ]; then /bin/cp %D/%F %D/etc/mfshdd.cfg; fi
2
@exec  if [ ! -f %D/etc/mfschunkserver.cfg ]; then /bin/cp %D/%F %D/etc/mfschunkserver.cfg; fi
2
@exec  if [ ! -f %D/etc/mfschunkserver.cfg ]; then /bin/cp %D/%F %D/etc/mfschunkserver.cfg; fi
3
@unexec if cmp -s %D/etc/mfshdd.cfg.dist %D/etc/mfshdd.cfg; then rm -f %D/etc/mfshdd.cfg; fi
3
@unexec if cmp -s %D/etc/mfs/mfshdd.cfg.dist %D/etc/mfshdd.cfg; then rm -f %D/etc/mfshdd.cfg; fi
4
@unexec if cmp -s %D/etc/mfschunkserver.cfg.dist %D/etc/mfschunkserver.cfg; then rm -f %D/etc/mfschunkserver.cfg; fi
4
@unexec if cmp -s %D/etc/mfs/mfschunkserver.cfg.dist %D/etc/mfschunkserver.cfg; then rm -f %D/etc/mfschunkserver.cfg; fi
5
etc/mfschunkserver.cfg.dist
5
etc/mfs/mfschunkserver.cfg.dist
6
etc/mfshdd.cfg.dist
6
etc/mfs/mfshdd.cfg.dist
7
sbin/mfschunkserver
7
sbin/mfschunkserver
8
@dirrm etc/mfs

Return to bug 178398