summaryrefslogtreecommitdiffstats
path: root/scripts/theme-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/theme-install.sh')
-rwxr-xr-xscripts/theme-install.sh16
1 files changed, 6 insertions, 10 deletions
diff --git a/scripts/theme-install.sh b/scripts/theme-install.sh
index 8956b0f..b353fbe 100755
--- a/scripts/theme-install.sh
+++ b/scripts/theme-install.sh
@@ -1,13 +1,9 @@
#!/bin/sh -x
-SRC_DIR=`cd ../.. ; pwd`
+WORK_DIR=`pwd`
+PROJECT_DIR=`cd ../.. ; pwd`
+COMPONENT=theme
-cd $SRC_DIR/repo
-rpm -ivh dogtag-pki-ca-theme-*.rpm\
- dogtag-pki-kra-theme-*.rpm\
- dogtag-pki-tps-theme-*.rpm\
- dogtag-pki-tks-theme-*.rpm\
- dogtag-pki-console-theme-*.rpm\
- dogtag-pki-ra-theme-*.rpm\
- dogtag-pki-common-theme-*.rpm\
- dogtag-pki-ocsp-theme-*.rpm
+cd $WORK_DIR/build/$COMPONENT/repo
+
+yum install -y *.rpm