termux-tools: Setup xdg-open->termux-open symlink
This commit is contained in:
parent
2d36166493
commit
e54c330868
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user