termux-tools: Setup xdg-open->termux-open symlink

This commit is contained in:
Fredrik Fornwall 2017-02-28 00:30:19 +01:00
parent 2d36166493
commit e54c330868

View File

@ -18,8 +18,10 @@ termux_step_make_install () {
chmod +x $TERMUX_PREFIX/bin/$tool
done
cp -p $TERMUX_PKG_BUILDER_DIR/{dalvikvm,su,termux-fix-shebang,termux-reload-settings,termux-setup-storage,chsh,termux-open-url,termux-wake-lock,termux-wake-unlock,login,packages} $TERMUX_PREFIX/bin/
cp -p $TERMUX_PKG_BUILDER_DIR/{dalvikvm,su,termux-fix-shebang,termux-reload-settings,termux-setup-storage,chsh,termux-open-url,termux-wake-lock,termux-wake-unlock,login,packages,termux-open} $TERMUX_PREFIX/bin/
perl -p -i -e "s%\@TERMUX_PREFIX\@%${TERMUX_PREFIX}%g" $TERMUX_PREFIX/bin/dalvikvm
cp $TERMUX_PKG_BUILDER_DIR/motd $TERMUX_PREFIX/etc/motd
cd $TERMUX_PREFIX/bin
ln -f termux-open xdg-open
}