SHA256
1
0
forked from pool/xpra

Accepting request 870786 from home:olh:branches:X11:Utilities

- Fix regex for /bin/bash

OBS-URL: https://build.opensuse.org/request/show/870786
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xpra?expand=0&rev=68
This commit is contained in:
Luigi Baldoni 2021-02-10 08:21:17 +00:00 committed by Git OBS Bridge
parent e9807bd840
commit 340374e994
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 10 08:08:08 UTC 2021 - olaf@aepfle.de
- Fix regex for /bin/bash
-------------------------------------------------------------------
Fri Feb 5 15:15:15 UTC 2021 - olaf@aepfle.de

View File

@ -121,7 +121,7 @@ connections, and also the xpra html5 client.
find -name '*.py' \
-exec sed -i '1{\@^#!/usr/bin/env python@d}' {} +
sed -i "1 s|^#!/usr/bin/env python\b|#!%__python3|" cups/xpraforwarder
sed -i "1 s|^/usr/bin/bash|#!/bin/bash|" scripts/xpra_udev_product_version
sed -i "1 s|^#!/usr/bin/bash|#!/bin/bash|" scripts/xpra_udev_product_version
install -m0644 %{SOURCE1} -t xdg
# set fillup dir
sed -e 's|__FILLUPDIR__|%{_fillupdir}|' \