iankelling.org
/
git
/
iankelling.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new favorite things
[iankelling.org]
/
setup.sh
diff --git
a/setup.sh
b/setup.sh
index cfcee75694c4bf7e014d12471292b3775e6815de..59f3009bd8a45c327c05d8c5909d0e85e0a1805f 100755
(executable)
--- a/
setup.sh
+++ b/
setup.sh
@@
-35,13
+35,22
@@
acme-tiny-wrapper $domain
pkgs=(
# build.rb dependencies
pkgs=(
# build.rb dependencies
- ruby-pygments.rb ruby-safe-yaml ruby-
redcarpet
+ ruby-pygments.rb ruby-safe-yaml ruby-
sass
# python pkgs used for o(n^2) voting blog entry
python-bcrypt python-passlib
# gitweb pkgs
gitweb highlight
)
# python pkgs used for o(n^2) voting blog entry
python-bcrypt python-passlib
# gitweb pkgs
gitweb highlight
)
+if isdebian-stable; then
+ pkgs+=(build-essential ruby-dev)
+else
+ pkgs+=(ruby-redcarpet)
+fi
+
pi ${pkgs[@]}
pi ${pkgs[@]}
+if isdebian-stable; then
+ sudo gem install redcarpet
+fi
chmod og+x _site/on2vote/vote.py
chmod og+x _site/on2vote/vote.py