[Olsr-dev] please revert " force copy the olsrd.conf file during install"
Hans-Christoph Steiner
(spam-protected)
Tue Jul 3 17:11:44 CEST 2012
Regarding the overwriting of /etc/olsrd.conf, I think Debian has a good model for how to handle that:
- if the file doesn't exist, install it
- if the file exists, and the user says Y to overwrite, move the old
one to /etc/olsrd.conf.old
- if the file exists, and the user says N to overwrite, install the new
one to /etc/olsrd.conf.new
Or it could just happen automatically:
- if /etc/olsrd.conf doesn't exist, install the new
one to /etc/olsrd.conf
- if /etc/olsrd.conf exists, install the new
one to /etc/olsrd.conf.new
.hc
On Jul 3, 2012, at 10:12 AM, ZioPRoTo (Saverio Proto) wrote:
> Please can u test this patch:
> https://github.com/zioproto/openwrt-packages-zioproto/commit/10f45dd513806f802a51eed0a8873f80664a3f8e
>
> it works for me :)
>
> Saverio
>
>
> 2012/7/3 Jo-Philipp Wich <(spam-protected)>:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>>> unless you replace 'install' with 'install_all'
>>
>> In this case the Build/Install override is still needed because the
>> default one executes "make install".
>>
>> define Build/Install
>> $(call Build/Install/Default,install_all)
>> endef
>>
>> ~ Jow
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.12 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iEYEARECAAYFAk/y6MMACgkQdputYINPTPO9jQCggJ07J8CyO6LGqG9hiYTfrsFA
>> QXIAniP+YvR3SK/SnQlu5Iavo/E6JCkb
>> =7+Gt
>> -----END PGP SIGNATURE-----
>>
>> --
>> Olsr-dev mailing list
>> (spam-protected)
>> https://lists.olsr.org/mailman/listinfo/olsr-dev
>
> --
> Olsr-dev mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-dev
More information about the Olsr-dev
mailing list