mirror of
https://github.com/yuzu-emu/ext-linux-bin.git
synced 2024-12-23 01:05:36 +00:00
Remove ./ in front of .desktop and icon path
This commit is contained in:
parent
4904cc067a
commit
fd554e5d68
|
@ -151,8 +151,8 @@ patchelf --set-rpath '$ORIGIN/../lib' $_EXECUTABLE
|
||||||
_APPDIR=$2
|
_APPDIR=$2
|
||||||
cd ${_APPDIR}
|
cd ${_APPDIR}
|
||||||
|
|
||||||
cp -nvs $(find -type f -regex '.*/icons/.*\.svg' || head -n 1) ./
|
cp -nvs $(find -type f -regex '.*/icons/.*\.svg' -printf '%P\n' || head -n 1) ./
|
||||||
cp -nvs $(find -type f -regex '.*/applications/.*\.desktop' || head -n 1) ./
|
cp -nvs $(find -type f -regex '.*/applications/.*\.desktop' -printf '%P\n' || head -n 1) ./
|
||||||
|
|
||||||
if [ "${_NOT_FOUND}" != "" ]; then
|
if [ "${_NOT_FOUND}" != "" ]; then
|
||||||
>&2 echo "WARNING: failed to find the following libraries:"
|
>&2 echo "WARNING: failed to find the following libraries:"
|
||||||
|
|
Loading…
Reference in a new issue