Skip to content

Instantly share code, notes, and snippets.

@guozheng
Created October 10, 2011 00:57
Show Gist options
  • Save guozheng/1274428 to your computer and use it in GitHub Desktop.
Save guozheng/1274428 to your computer and use it in GitHub Desktop.
Comcast script to add bookmarks
#!/bin/bash
# A script to add some bookmarks to any supported browsers
echo "shell script running">> ~/.cim_install_log
echo $1>> ~/.cim_install_log
echo $2>> ~/.cim_install_log
echo "run ruby script from:">> ~/.cim_install_log
echo $2/ruby/add_bookmarks.rb>> ~/.cim_install_log
cd $2/ruby
ruby $2/ruby/add_bookmarks.rb>> ~/.cim_install_log 2>&1
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment