Permalink
Browse files

Add install and update script and fix README.md

  • Loading branch information...
codebrainz committed Oct 14, 2011
1 parent fffe3f3 commit b9f7730700b9dfec963f35ae867cfa8aa0d34b7e
Showing with 31 additions and 6 deletions.
  1. +6 −6 README.md
  2. +15 −0 install.sh
  3. +10 −0 update.sh
View
@@ -1,11 +1,11 @@
Color Schemes for Geany
=======================
-These are some color schemes for the [Geany IDE](http://geany.org) converted from other editors' color
-schemes and some created by the Geany community.
+These are some color schemes for the [Geany IDE](http://geany.org) converted from other editors' color
+schemes and some created by the Geany community.
-__Note:__ Please don't report any bugs on the Geany tracker for issues with these color schemes. Instead use the
-[Issues Tracker](https://github.com/codebrainz/colorschemes/issues) for the
+__Note:__ Please don't report any bugs on the Geany tracker for issues with these color schemes. Instead use the
+[Issues Tracker](https://github.com/codebrainz/colorschemes/issues) for the
[colorschemes](https://github.com/codebrainz/colorschemes) repository.
Installation Instructions:
@@ -24,7 +24,7 @@ Keeping up to Date:
```
$ cd ~/.config/geany/colorschemes
-$ git pull master
+$ git pull origin master
```
Now restart Geany and you should see the updated color schemes.
@@ -34,4 +34,4 @@ Hacking:
Feel free to send any Pull Requests on Github if you fix or improve existing schemes or create a new one.
-Try to make sure you test your scheme running `geany -v` and make sure there's no related warning.
+Try to make sure you test your scheme running `geany -v` and make sure there's no related warning.
View
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+CURRENT_DIR=`pwd`
+GEANY_DIR=~/.config/geany
+
+cd "${GEANY_DIR}"
+
+if test -d "colorschemes"; then
+ TIMESTAMP=`date +%s`
+ mv colorschemes "colorschemes_${TIMESTAMP}"
+fi
+
+git clone git://github.com/codebrainz/colorschemes.git
+
+cd "${CURRENT_DIR}"
View
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+CURRENT_DIR=`pwd`
+COLOR_SCHEMES_DIR=~/.config/geany/colorschemes
+
+cd "${COLOR_SCHEMES_DIR}"
+
+git pull origin master
+
+cd "${CURRENT_DIR}"

0 comments on commit b9f7730

Please sign in to comment.