Lines 2-8
Link Here
|
2 |
# |
2 |
# |
3 |
# tdiaryinstall.rb - tDiary user directory copy script |
3 |
# tdiaryinstall.rb - tDiary user directory copy script |
4 |
# Date created: 13 July 2003 |
4 |
# Date created: 13 July 2003 |
5 |
# Whom: KAMIYA Satosi <mimoriso@anet.ne.jp> |
5 |
# Whom: KAMIYA Satosi <mimoriso@gmail.com> |
6 |
# |
6 |
# |
7 |
# $FreeBSD: ports/www/tdiary/files/tdiaryinst.rb.in,v 1.3 2004/03/01 17:01:10 pav Exp $ |
7 |
# $FreeBSD: ports/www/tdiary/files/tdiaryinst.rb.in,v 1.3 2004/03/01 17:01:10 pav Exp $ |
8 |
# |
8 |
# |
Lines 30-35
Link Here
|
30 |
def FileUtils16.cp(src, dest, *options) |
30 |
def FileUtils16.cp(src, dest, *options) |
31 |
begin |
31 |
begin |
32 |
FileUtils.cp(src, dest, *options) |
32 |
FileUtils.cp(src, dest, *options) |
|
|
33 |
FileUtils.chmod(0644, dest, *options) |
33 |
rescue TypeError |
34 |
rescue TypeError |
34 |
optionhash = {} |
35 |
optionhash = {} |
35 |
options.each { |o| optionhash[o] = true } |
36 |
options.each { |o| optionhash[o] = true } |