wok-current annotate slim-theme-control/receipt @ rev 17552
Update some post_install for install --root
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 30 10:17:37 2015 +0100 (2015-01-30) |
parents | a9da5bf33e10 |
children | 0a411c8beacd |
rev | line source |
---|---|
al@14723 | 1 # SliTaz package receipt. |
al@14723 | 2 |
al@14723 | 3 PACKAGE="slim-theme-control" |
al@14723 | 4 VERSION="1.0-20130609" |
al@14723 | 5 CATEGORY="x-window" |
al@14723 | 6 SHORT_DESC="Control - theme for SLiM" |
al@14723 | 7 MAINTAINER="holkfoor@gmail.com" |
al@14723 | 8 LICENSE="CC-BY" |
al@14723 | 9 WEB_SITE="http://www.slitaz.org/" |
al@14723 | 10 |
al@14723 | 11 DEPENDS="slim slitaz-configs-base" |
al@14723 | 12 BUILD_DEPENDS="" |
al@14723 | 13 |
al@14723 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14723 | 15 genpkg_rules() |
al@14723 | 16 { |
al@14723 | 17 theme=$fs/usr/share/slim/themes/control |
al@14723 | 18 mkdir -p $theme |
al@14723 | 19 cp -a $stuff/* $theme |
al@14723 | 20 } |
al@14723 | 21 |
al@14723 | 22 post_install() |
al@14723 | 23 { |
pascal@17552 | 24 chroot "$1/" slim-theme -scontrol |
al@14723 | 25 } |
al@14723 | 26 |
al@14723 | 27 pre_remove() |
al@14723 | 28 { |
pascal@17552 | 29 chroot "$1/" slim-theme -fcontrol |
al@14723 | 30 } |