wok-tiny view ftp-config/receipt @ rev 80

Add rsync
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 19 23:03:09 2012 +0200 (2012-07-19)
parents 943c1a94316d
children dc79b649a4b9
line source
1 # SliTaz package receipt.
3 PACKAGE="ftp-config"
4 VERSION="1.0"
5 CATEGORY="configuration"
6 SHORT_DESC="File transport protocol configuration"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://tiny.slitaz.org/"
9 DEPENDS="base-tiny"
11 post_install()
12 {
13 grep -q ftpd $1/etc/rcS.conf ||
14 sed -i 's/^RUN_DAEMONS="/&ftpd /' $1/etc/rcS.conf
15 }
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/etc
21 }