vim/view_wrapper
DistroBaker 49c21523b1 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/vim.git#f3ef01b2e5ad6413adf9afee2bb65b96c0891e38
2021-02-04 22:10:45 +00:00

11 lines
155 B
Bash

#!/usr/bin/sh
# run vim -R if available
if test -f /usr/libexec/vim
then
exec /usr/libexec/vim -R "$@"
fi
# run vi otherwise
exec /usr/libexec/vi "$@"