VirtualBox

Changeset 84617 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
May 29, 2020 4:11:47 PM (5 years ago)
Author:
vboxsync
Message:

Installer/linux/rpm: more fixes to the #! rewriting. Was done before the file was moved into place.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec

    r84614 r84617  
    102102  cd ./sdk/installer && \
    103103  %{vbox_python} ./vboxapisetup.py install --prefix %{_prefix} --root $RPM_BUILD_ROOT)
    104   if [ -x /usr/bin/pathfix.py ]; then
    105     pathfix.py -pni "%{__python3} %{py3_shbang_opts}" $RPM_BUILD_ROOT/usr/lib/virtualbox/vboxshell.py
    106   fi
    107104%endif
    108105rm -rf sdk/installer
     
    224221test -f $RPM_BUILD_ROOT/usr/lib/virtualbox/VBoxSDL && \
    225222  chmod 4511 $RPM_BUILD_ROOT/usr/lib/virtualbox/VBoxSDL
     223%if %{?with_python:1}%{!?with_python:0}
     224if [ -x /usr/bin/pathfix.py ]; then
     225  /usr/bin/pathfix.py -pni "%{__python3} %{py3_shbang_opts}" $RPM_BUILD_ROOT/usr/lib/virtualbox/vboxshell.py
     226fi
     227%endif
    226228
    227229
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette