From 367bfe52d48cce8afc26a42d79f1ed68c060121e Mon Sep 17 00:00:00 2001 From: simono41 Date: Sat, 14 Oct 2017 01:32:00 +0200 Subject: [PATCH] fix --- link.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/link.sh b/link.sh index 7b97116..3cf9e95 100755 --- a/link.sh +++ b/link.sh @@ -2,5 +2,10 @@ BEFEHL=$1 +if [ -f /system/xbin/$BEFEHL ]; then + echo "Überschreibe /system/xbin/$BEFEHL" + rm /system/xbin/$BEFEHL +fi + mount -o rw,remount /system ln -s /data/data/com.termux/files/usr/bin/$BEFEHL /system/xbin/