diod: add sample and prepare for autofs

This commit is contained in:
pulux 2016-02-14 09:44:21 +01:00
parent 019a5e8dde
commit 59ea7775bf
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'diod' # Template file for 'diod'
pkgname=diod pkgname=diod
version=1.0.24 version=1.0.24
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
conf_files="/etc/diod.conf" conf_files="/etc/diod.conf"
hostmakedepends="autoconf" hostmakedepends="autoconf"
@ -16,5 +16,10 @@ checksum=f41d2b91c1a712132f5457d9d1c3caca985f069bdc8ef27bf4c148ac1d9f8c9f
post_install() { post_install() {
vsv diod vsv diod
rm -rf ${DESTDIR}/etc/systemd rm -rf ${DESTDIR}/etc/systemd
vsconf ${DESTDIR}/etc/auto.diod
rm -f ${DESTDIR}/etc/auto.diod rm -f ${DESTDIR}/etc/auto.diod
cd ${DESTDIR}/usr/bin
ln -s diodmount mount.diod
cd ${DESTDIR}/usr/share/man/man8
ln -s diodmount.8 mount.diod.8
} }