SHA256
1
0
forked from pool/vim

for all files

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=688
This commit is contained in:
Ondřej Súkup 2021-11-02 14:35:43 +00:00 committed by Git OBS Bridge
parent 9318591954
commit 07751dc6d3

View File

@ -342,6 +342,7 @@ mkdir -p %{buildroot}%{_datadir}/libalternatives/vi
cat > %{buildroot}%{_datadir}/libalternatives/vi/20.conf <<EOF cat > %{buildroot}%{_datadir}/libalternatives/vi/20.conf <<EOF
binary=%{_bindir}/vim-nox11 binary=%{_bindir}/vim-nox11
group=vim, vi group=vim, vi
options=KeepArgv0
EOF EOF
cat > %{buildroot}%{_datadir}/libalternatives/vi/30.conf <<EOF cat > %{buildroot}%{_datadir}/libalternatives/vi/30.conf <<EOF
binary=%{_bindir}/gvim binary=%{_bindir}/gvim
@ -351,11 +352,13 @@ EOF
cat > %{buildroot}%{_datadir}/libalternatives/vi/19.conf <<EOF cat > %{buildroot}%{_datadir}/libalternatives/vi/19.conf <<EOF
binary=%{_bindir}/vim-small binary=%{_bindir}/vim-small
group=vim, vi group=vim, vi
options=KeepArgv0
EOF EOF
mkdir -p %{buildroot}%{_datadir}/libalternatives/vim mkdir -p %{buildroot}%{_datadir}/libalternatives/vim
cat > %{buildroot}%{_datadir}/libalternatives/vim/20.conf <<EOF cat > %{buildroot}%{_datadir}/libalternatives/vim/20.conf <<EOF
binary=%{_bindir}/vim-nox11 binary=%{_bindir}/vim-nox11
group=vim, vi group=vim, vi
options=KeepArgv0
EOF EOF
cat > %{buildroot}%{_datadir}/libalternatives/vim/30.conf <<EOF cat > %{buildroot}%{_datadir}/libalternatives/vim/30.conf <<EOF
binary=%{_bindir}/gvim binary=%{_bindir}/gvim
@ -365,6 +368,7 @@ EOF
cat > %{buildroot}%{_datadir}/libalternatives/vim/19.conf <<EOF cat > %{buildroot}%{_datadir}/libalternatives/vim/19.conf <<EOF
binary=%{_bindir}/vim-small binary=%{_bindir}/vim-small
group=vim, vi group=vim, vi
options=KeepArgv0
EOF EOF
%endif %endif