summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-theme/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-11-29 14:06:37 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-11-29 14:06:37 (GMT)
commit0b9e08ce04023f6668886da4f77e81bc69d8cb21 (patch)
treefa6e14a11ebb1efa2e69f48a1406d148b7e1895f /abs/core/linhes-theme/PKGBUILD
parent50a4a0ce1f5128874f7354179b40926d72c4b923 (diff)
downloadlinhes_pkgbuild-0b9e08ce04023f6668886da4f77e81bc69d8cb21.zip
linhes_pkgbuild-0b9e08ce04023f6668886da4f77e81bc69d8cb21.tar.gz
linhes_pkgbuild-0b9e08ce04023f6668886da4f77e81bc69d8cb21.tar.bz2
linhes-theme: fix theme version
Diffstat (limited to 'abs/core/linhes-theme/PKGBUILD')
-rwxr-xr-xabs/core/linhes-theme/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/abs/core/linhes-theme/PKGBUILD b/abs/core/linhes-theme/PKGBUILD
index b30b086..963232e 100755
--- a/abs/core/linhes-theme/PKGBUILD
+++ b/abs/core/linhes-theme/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=linhes-theme
pkgver=8.4
-pkgrel=13
+pkgrel=14
pkgdesc="Default LinHES MythTV theme"
arch=('i686' 'x86_64')
license=('GPL2')
@@ -80,19 +80,18 @@ package() {
msg "Modifying yellows and blue to LinHES yellow and blue"
#yellow
- grep -lr '#d9d900' $pkgdir/$THEMEROOT/LinHES/ | xargs sed -i "s/\#d9d900/\#ebb81c/g" || return 0
+ grep -lr '#d9d900' $pkgdir/$THEMEROOT/LinHES/ | xargs -r sed -i "s/\#d9d900/\#ebb81c/g"
#darkyellow
- grep -lr '#CCCC29' $pkgdir/$THEMEROOT/LinHES/ | xargs sed -i "s/\#CCCC29/\#ebb81c/g" || return 0
+ grep -lr '#CCCC29' $pkgdir/$THEMEROOT/LinHES/ | xargs -r sed -i "s/\#CCCC29/\#ebb81c/g"
#blue
- grep -lr '#3a9ade' $pkgdir/$THEMEROOT/LinHES/ | xargs sed -i "s/\#3a9ade/\#0072bc/g" || return 0
+ grep -lr '#3a9ade' $pkgdir/$THEMEROOT/LinHES/ | xargs -r sed -i "s/\#3a9ade/\#0072bc/g"
msg "Modifying fonts to Overlock"
- grep -lr 'DejaVu Sans' $pkgdir/$THEMEROOT/LinHES/ | xargs sed -i "s/\DejaVu Sans/\Overlock/g"
+ grep -lr 'DejaVu Sans' $pkgdir/$THEMEROOT/LinHES/ | xargs -r sed -i "s/\DejaVu Sans/\Overlock/g"
msg "Updating themeinfo.xml version number"
- IFS="." read -a array <<< "$pkgver"
- sed -i "s/MAJ_VER/${array[0]}/" $pkgdir/$THEMEROOT/LinHES/themeinfo.xml
- sed -i "s/MIN_VER/${array[1]}${pkgrel}/" $pkgdir/$THEMEROOT/LinHES/themeinfo.xml
+ sed -i "s/MAJ_VER/${pkgver//.}/" $pkgdir/$THEMEROOT/LinHES/themeinfo.xml
+ sed -i "s/MIN_VER/${pkgrel}/" $pkgdir/$THEMEROOT/LinHES/themeinfo.xml
}
md5sums=('2dca856c2a4d1f959473512c94e43b60'
'196b4d6691e95b87a76a9ed8be31a3d9'