diff options
author | James Meyer <james.meyer@operamail.com> | 2009-09-08 20:19:07 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-09-08 20:19:07 (GMT) |
commit | 6b53e00c3f25bee6babd8e11ff6e846ad3f2107d (patch) | |
tree | 773881bec20ad010ec2274d1529caf580cc120a4 /abs/core-testing/etcnet/PKGBUILD | |
parent | 95bfe5ff669cf3a9ab9b6791e49567b4be8dab03 (diff) | |
download | linhes_pkgbuild-6b53e00c3f25bee6babd8e11ff6e846ad3f2107d.zip linhes_pkgbuild-6b53e00c3f25bee6babd8e11ff6e846ad3f2107d.tar.gz linhes_pkgbuild-6b53e00c3f25bee6babd8e11ff6e846ad3f2107d.tar.bz2 |
etcnet: remove options file from pkg.
post-install: on upgrade and backup options file exisits recreate the network interface.
closes FS#482
Diffstat (limited to 'abs/core-testing/etcnet/PKGBUILD')
-rwxr-xr-x | abs/core-testing/etcnet/PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/abs/core-testing/etcnet/PKGBUILD b/abs/core-testing/etcnet/PKGBUILD index 3940da3..e9ac4f4 100755 --- a/abs/core-testing/etcnet/PKGBUILD +++ b/abs/core-testing/etcnet/PKGBUILD @@ -1,13 +1,13 @@ pkgname=etcnet pkgver=0.9.8 -pkgrel=7 +pkgrel=13 pkgdesc="/etc/net network configuration subsystem" url="http://etcnet.org/" depends=('bash' 'grep' 'sed' 'iproute2' 'wireless_tools' 'iptables' 'dhcpcd') arch=i686 install=etcnet.install source=(http://etcnet.org/files/$pkgname-$pkgver.tar.gz 10-defaults network functions.patch options ipv4route ipv4address ) -backup=(etc/net/ifaces/eth0/options etc/net/ifaces/eth0/ipv4route etc/net/ifaces/eth0/ipv4address) +#backup=(etc/net/ifaces/eth0/options etc/net/ifaces/eth0/ipv4route etc/net/ifaces/eth0/ipv4address) build() { cd $startdir/src/$pkgname-$pkgver @@ -23,7 +23,7 @@ build() { #setup default for eth0 mkdir -p $startdir/pkg/etc/net/ifaces/eth0 - cp $startdir/src/options $startdir/pkg/etc/net/ifaces/eth0/options +# cp $startdir/src/options $startdir/pkg/etc/net/ifaces/eth0/options # cp $startdir/src/ipv4route $startdir/pkg/etc/net/ifaces/eth0/ipv4route # cp $startdir/src/ipv4address $startdir/pkg/etc/net/ifaces/eth0/ipv4address |