From fad95cb11e4f16845d37aaec707bb52d1f120511 Mon Sep 17 00:00:00 2001 From: Wetitpig Date: Thu, 7 Feb 2019 20:52:58 +0800 Subject: [PATCH] Use ln -sf in dash rather than rm --- packages/dash/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/dash/build.sh b/packages/dash/build.sh index 55e721fc8..9417bd6a0 100644 --- a/packages/dash/build.sh +++ b/packages/dash/build.sh @@ -9,9 +9,8 @@ TERMUX_PKG_SRCURL=http://gondor.apana.org.au/~herbert/dash/files/dash-${TERMUX_P termux_step_post_make_install () { # Symlink sh -> dash - rm -f $TERMUX_PREFIX/bin/sh $TERMUX_PREFIX/share/man/man1/sh.1 cd $TERMUX_PREFIX/bin - ln -s dash sh + ln -sf dash sh cd $TERMUX_PREFIX/share/man/man1 - ln -s dash.1 sh.1 + ln -sf dash.1 sh.1 }