#!/bin/sh set -ex echo "I: Creating xdg helper" PREFIX=binary/boot/filesystem.dir mkdir -p $PREFIX/usr/local/bin cat >$PREFIX/usr/local/bin/xdg-open <$PREFIX/usr/local/share/applications/xdg-open.desktop <$PREFIX/usr/local/share/applications/mimeapps.list <