Commit f78b2f35 authored by François Bobot's avatar François Bobot
Browse files

[Makefile] try to install to /etc/bash_completion.d only when the actual user can write to it

parent 2e9f2bfd
......@@ -1328,7 +1328,7 @@ clean::
##########
install_no_local::
if test -d /etc/bash_completion.d; then cp -f share/bash/why3 /etc/bash_completion.d; fi
if test -d /etc/bash_completion.d -a -w /etc/bash_completion.d; then cp -f share/bash/why3 /etc/bash_completion.d; fi
##########
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment