mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xorg-server: use helper function
This commit is contained in:
parent
50b97480ec
commit
f1de8a967d
@ -156,11 +156,8 @@ post_makeinstall_target() {
|
||||
fi
|
||||
|
||||
mkdir -p $INSTALL/etc/X11
|
||||
if [ -f $PROJECT_DIR/$PROJECT/xorg/xorg.conf ]; then
|
||||
cp $PROJECT_DIR/$PROJECT/xorg/xorg.conf $INSTALL/etc/X11
|
||||
elif [ -f $PKG_DIR/config/xorg.conf ]; then
|
||||
cp $PKG_DIR/config/xorg.conf $INSTALL/etc/X11
|
||||
fi
|
||||
find_file_path config/xorg.conf &&
|
||||
cp $FOUND_PATH $INSTALL/etc/X11
|
||||
|
||||
if [ ! "$DEVTOOLS" = yes ]; then
|
||||
rm -rf $INSTALL/usr/bin/cvt
|
||||
|
Loading…
x
Reference in New Issue
Block a user