Skip to content

Instantly share code, notes, and snippets.

@Slind14
Forked from sameersbn/redmine-themes-install.sh
Last active August 29, 2015 14:22
Show Gist options
  • Save Slind14/88a352df891783b1146f to your computer and use it in GitHub Desktop.
Save Slind14/88a352df891783b1146f to your computer and use it in GitHub Desktop.
#!/bin/bash
#
# Author: Sameer Naik <sameer@damagehead.com>
# Gist: https://gist.github.com/sameersbn/aaa1b7bb064703c1e23c
# Short Url (raw): http://goo.gl/deKDpp
#
# Installs a bunch of themes for the docker-redmine image
#
# Usage:
# $ mkdir -p /opt/redmine/data/themes
# $ cd /opt/redmine/data/themes
# $ wget http://goo.gl/deKDpp -O - | sh
#
set -e
# HOMEPAGE: http://redminecrm.com/pages/a1-theme
#A1_VERSION=1_1_2
rm -rf a1
wget http://www.redminecrm.com/license_manager/14517/a1_theme-1_1_3.zip -P /tmp/
unzip /tmp/a1-${A1_VERSION}.zip
rm -rf /tmp/a1-${A1_VERSION}.zip
# HOMEPAGE: http://www.redminecrm.com/pages/coffee-theme
#COFFEE_VERSION=0_0_4
rm -rf coffee
wget http://www.redminecrm.com/license_manager/7645/coffee_theme-0_0_4.zip -P /tmp/
unzip /tmp/coffee-${COFFEE_VERSION}.zip
rm -rf /tmp/coffee-${COFFEE_VERSION}.zip
# HOMEPAGE: http://www.redminecrm.com/pages/redminecrm-theme
#REDMINECRM_VERSION=0_0_2
rm -rf redminecrm
wget http://www.redminecrm.com/license_manager/7647/redminecrm_theme-0_0_2.zip -P /tmp/
unzip /tmp/redminecrm-${REDMINECRM_VERSION}.zip
rm -rf /tmp/redminecrm-${REDMINECRM_VERSION}.zip
# HOMEPAGE: http://redminecrm.com/pages/highrise-theme
#HIGHRISE_VERSION=1_1_2
rm -rf highrise
wget http://www.redminecrm.com/license_manager/7646/highrise_theme-1_1_2.zip -P /tmp/
unzip /tmp/highrise-${HIGHRISE_VERSION}.zip
rm -rf /tmp/highrise-${HIGHRISE_VERSION}.zip
# HOMEPAGE: http://www.redminecrm.com/pages/circle-theme
#CIRCLE_THEME_VERSION=1_0_1
rm -rf circle
wget http://www.redminecrm.com/license_manager/11619/circle_theme-1_0_2.zip -P /tmp/
unzip /tmp/circle_theme-${CIRCLE_THEME_VERSION}.zip
rm -rf /tmp/circle_theme-${CIRCLE_THEME_VERSION}.zip
# HOMEPAGE: https://github.com/makotokw/redmine-theme-gitmike
GITMIKE_VERSION=r6
rm -rf gitmike
wget -nv https://github.com/makotokw/redmine-theme-gitmike/archive/${GITMIKE_VERSION}.tar.gz -O - | tar -zvxf - --strip=1 -C gitmike
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment