Handle .ansible symlinks
test -f dereferences symlinks. This results in:
mv: ‘/usr/share/foreman-proxy/.ansible.cfg’ and ‘/etc/foreman-proxy/ansible.cfg’ are the same file
By testing if it's not a symlink, this should be avoided.
Handle .ansible symlinks
test -f dereferences symlinks. This results in:
mv: ‘/usr/share/foreman-proxy/.ansible.cfg’ and ‘/etc/foreman-proxy/ansible.cfg’ are the same file
By testing if it's not a symlink, this should be avoided.