mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +00:00
xorg-server: fix xorg.conf installation from project/device dir
find_file_path has to be put into an if, otherwise its return code (which is usually 1) will leak into post_makeinstall_target Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
2e2e683a62
commit
a24ce9c9fd
@ -156,8 +156,9 @@ post_makeinstall_target() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc/X11
|
mkdir -p $INSTALL/etc/X11
|
||||||
find_file_path config/xorg.conf &&
|
if find_file_path config/xorg.conf ; then
|
||||||
cp $FOUND_PATH $INSTALL/etc/X11
|
cp $FOUND_PATH $INSTALL/etc/X11
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! "$DEVTOOLS" = yes ]; then
|
if [ ! "$DEVTOOLS" = yes ]; then
|
||||||
rm -rf $INSTALL/usr/bin/cvt
|
rm -rf $INSTALL/usr/bin/cvt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user