summaryrefslogtreecommitdiff
path: root/www/aswiki/files
diff options
context:
space:
mode:
authorMakoto Matsushita <matusita@FreeBSD.org>2003-06-20 10:46:30 +0000
committerMakoto Matsushita <matusita@FreeBSD.org>2003-06-20 10:46:30 +0000
commit94d21a95b03c5acb104678b770029f332ca8cd67 (patch)
treed0794c420694eda682e3498fcaf25b5e4e9bd37a /www/aswiki/files
parentRemove the news/straw port. (diff)
Use install(1) instead of cp(1), to set file mode (it is unhappy to users
that the config file is read-only). Install sample CSS file to aswiki home directory. Content changed, so bump the revision.
Notes
Notes: svn path=/head/; revision=83351
Diffstat (limited to 'www/aswiki/files')
-rw-r--r--www/aswiki/files/setup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/aswiki/files/setup.sh b/www/aswiki/files/setup.sh
index ce8f73f62ec9..857d55f14f43 100644
--- a/www/aswiki/files/setup.sh
+++ b/www/aswiki/files/setup.sh
@@ -33,7 +33,7 @@ ask_copy()
ans=YES
fi
if [ $ans = "YES" ]; then
- cp __DATADIR__/$file .
+ install -m 644 __DATADIR__/$file .
else
echo "$file is untouched; you may update with __DATADIR__/$file."
fi
@@ -48,6 +48,7 @@ if ask_noyes "Are you ready?"; then
echo -n "Copying files..."
ask_copy aswiki.conf
ask_copy aswiki.cgi
+ ask_copy default.css
echo "done."
else
echo "Stopped."