diff options
author | Endi S. Dewata <edewata@redhat.com> | 2017-07-20 08:38:49 +0200 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2017-07-20 08:38:49 +0200 |
commit | 2c8b21fa6ff0f8dc3c9479db00058ff8132ba155 (patch) | |
tree | 58f1dd74a3f4e28f306c869f102301df4423813d /scripts | |
parent | ab60a2d6737a828409fdb057b1069308ae98025c (diff) | |
download | pki-dev-2c8b21fa6ff0f8dc3c9479db00058ff8132ba155.tar.gz pki-dev-2c8b21fa6ff0f8dc3c9479db00058ff8132ba155.tar.xz pki-dev-2c8b21fa6ff0f8dc3c9479db00058ff8132ba155.zip |
Updated theme scripts.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/theme-build.sh | 2 | ||||
-rwxr-xr-x | scripts/theme-compare.sh | 6 | ||||
-rwxr-xr-x | scripts/theme-download.sh | 4 | ||||
-rwxr-xr-x | scripts/theme-publish.sh | 10 |
4 files changed, 19 insertions, 3 deletions
diff --git a/scripts/theme-build.sh b/scripts/theme-build.sh index 393d493..972ce61 100755 --- a/scripts/theme-build.sh +++ b/scripts/theme-build.sh @@ -11,7 +11,7 @@ cd $BUILD_DIR rm -rf rpmbuild mkdir -p rpmbuild -$COMPOSE --work-dir $BUILD_DIR/rpmbuild rpms 2>&1 | tee build.log +$COMPOSE --work-dir $BUILD_DIR/rpmbuild rpms rm -rf repo mkdir -p repo diff --git a/scripts/theme-compare.sh b/scripts/theme-compare.sh new file mode 100755 index 0000000..fe8164b --- /dev/null +++ b/scripts/theme-compare.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +old=$1 +new=/usr/share/java/pki + +./jar-compare.sh pki-console-theme.jar $old $new diff --git a/scripts/theme-download.sh b/scripts/theme-download.sh index 76fe539..f86dc80 100755 --- a/scripts/theme-download.sh +++ b/scripts/theme-download.sh @@ -4,9 +4,9 @@ cd ~/Downloads BASE_URL=http://kojipkgs.fedoraproject.org/packages PACKAGE=dogtag-pki-theme -VERSION=10.2.0 +VERSION=10.3.5 RELEASE=1 -OS=fc21 +OS=fc24 wget $BASE_URL/$PACKAGE/$VERSION/$RELEASE.$OS/noarch/dogtag-pki-console-theme-$VERSION-$RELEASE.$OS.noarch.rpm wget $BASE_URL/$PACKAGE/$VERSION/$RELEASE.$OS/noarch/dogtag-pki-server-theme-$VERSION-$RELEASE.$OS.noarch.rpm diff --git a/scripts/theme-publish.sh b/scripts/theme-publish.sh new file mode 100755 index 0000000..13125fb --- /dev/null +++ b/scripts/theme-publish.sh @@ -0,0 +1,10 @@ +#!/bin/sh -x + +BUILD_DIR=$HOME/build/pki-theme +mkdir -p $BUILD_DIR +cd $BUILD_DIR + +REPO_DIR=/var/www/html/pub/fedora/linux/releases/20/Everything/x86_64/os +mkdir -p $REPO_DIR +cp repo/*.rpm $REPO_DIR +createrepo $REPO_DIR |