Skip to content

Commit

Permalink
Add install and update script and fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
codebrainz committed Oct 14, 2011
1 parent fffe3f3 commit b9f7730
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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.
Expand All @@ -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.
15 changes: 15 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -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}"
10 changes: 10 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
@@ -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.