wok-current view tazpanel-theme-sandfive/receipt @ rev 17878
Up slitaz-base-files: fix GNU sed incompatibility with busybox sed (thanks Ceel for bugreport).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 28 16:57:28 2015 +0200 (2015-03-28) |
parents | |
children | 9e01bc6321ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel-theme-sandfive"
4 VERSION="1.0"
5 CATEGORY="misc"
6 SHORT_DESC="SliTaz Sand Five theme for TazPanel"
7 MAINTAINER="holkfoor@gmail.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="http://www.slitaz.org/"
11 DEPENDS="tazpanel"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/var/www/tazpanel/styles/sandfive
17 cp -a stuff/* $fs/var/www/tazpanel/styles/sandfive
19 # link absent files with default theme
20 cd $fs/var/www/tazpanel/styles/sandfive
21 for i in favicon.ico footer.html header.html images; do
22 ln -s ../default/$i $i
23 done
24 }
26 # Pre and post install commands for Tazpkg.
27 post_install()
28 {
29 sed -i 's|STYLE=".*"|STYLE="sandfive"|' $1/etc/slitaz/tazpanel.conf
30 }
32 pre_remove()
33 {
34 sed -i 's|STYLE=".*"|STYLE="default"|' $1/etc/slitaz/tazpanel.conf
35 }