xmake: Fix build for ntfs-3g package
This commit is contained in:
9
xmake.sh
9
xmake.sh
@@ -208,6 +208,15 @@ function build_target {
|
||||
sed -i '/"admin\/system\/users" : {/a "title": "Users",' $USERS_MENU
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
NTFS3G=$XDIR/package/feeds/packages/ntfs-3g/Makefile
|
||||
if [ -f $NTFS3G ]; then
|
||||
if grep -q -F '$(INSTALL_DIR) $(1)/usr/{bin,sbin}' $NTFS3G ; then
|
||||
sed -i '/\$(INSTALL_DIR) \$(1)\/usr\/{bin,sbin}/a \\t\$(INSTALL_DIR) \$(1)\/usr\/bin' $NTFS3G
|
||||
sed -i '/\$(INSTALL_DIR) \$(1)\/usr\/{bin,sbin}/a \\t\$(INSTALL_DIR) \$(1)\/usr\/sbin' $NTFS3G
|
||||
sed -i 's/\$(INSTALL_DIR) \$(1)\/usr\/{bin,sbin}/#\$(INSTALL_DIR) \$(1)\/usr\/__bin_sbin__/g' $NTFS3G
|
||||
fi
|
||||
fi
|
||||
|
||||
OPKG_DIR=$XDIR/files/etc/opkg
|
||||
|
||||
Reference in New Issue
Block a user