Permalink
Browse files

1. removed debugging code in bin/gh-pages.js

2. add command alias 'install' for fresh installation. Now, you can install by doing

	./h-get install
  • Loading branch information...
1 parent edca808 commit 619b215f244f6f223c6b9fb8e03cb62d0ff6d3d9 @andrwj andrwj committed Nov 26, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 bin/gh-pages.js
  2. +2 −2 h-get
View
@@ -52,7 +52,7 @@ rl.question(' > ', function(repo) {
console.log('haroo> git remote -v¶'.yellow);
exec('git remote -v', function(code, stdout, stderr) {
console.log(stdout);
- if (stdout.match(/origin.+?rhiokim\/haroopress/) != null) {
+ if (stdout.match(/origin.+?\/haroopress/) != null) {
step(
function gitInit() {
console.log('haroo> Start setting github pages branch ¶'.yellow);
View
4 h-get
@@ -47,7 +47,7 @@ __usage ()
echo " new-post | a-post -- writing a new post"
echo " new-page | a-page -- writing a new page"
echo " new-slide | a-page -- writing a new slide"
- echo " init -- setup Haroopress"
+ echo " init | install -- setup Haroopress"
echo " clear"
echo "------------------------------------------------------"
__guide
@@ -229,7 +229,7 @@ __main ()
fi
- if [[ "$__HCMD" == "init" ]]; then
+ if [[ "$__HCMD" == "init" ]] || [[ "$__HCMD" == "install" ]]; then
__chk_pre_requisites
__init_update_git_submodules
__init_install_locally

0 comments on commit 619b215

Please sign in to comment.