NetworkManager: use make_dirs.

This commit is contained in:
Juan RP 2012-07-14 23:32:40 +02:00
parent fea0a04c65
commit addd276177
2 changed files with 6 additions and 6 deletions

View file

@ -1,3 +0,0 @@
d /etc/NetworkManager/dispatcher.d 0755 root root -
d /etc/NetworkManager/system-connections 0755 root root -
d /var/lib/NetworkManager 0700 root root -

View file

@ -1,7 +1,7 @@
# Template file for 'NetworkManager'
pkgname=NetworkManager
version=0.9.5.95
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-distro=gentoo
--with-dhcpcd=/usr/sbin/dhcpcd --with-dhclient=no --disable-wimax
@ -32,10 +32,13 @@ long_desc="
NetworkManager is _intended_ to replace default routes, obtain IP addresses
from a DHCP server, and change nameservers whenever it sees fit."
make_dirs="
/etc/NetworkManager/dispatcher.d 0755 root root
/etc/NetworkManager/system-connections 0755 root root
/var/lib/NetworkManager 0700 root root"
post_install() {
# Install config file.
vinstall ${FILESDIR}/${pkgname}.conf 644 etc/${pkgname}
vinstall ${FILESDIR}/${pkgname}.tmpfiles.d 644 \
usr/lib/tmpfiles.d ${pkgname}.conf
rm -rf ${DESTDIR}/etc/init.d
}