NetworkManager: use make_dirs.
This commit is contained in:
parent
fea0a04c65
commit
addd276177
|
@ -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 -
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue