From 595475d8f5bd6b6bc926a57e7b1c183bbb26ea0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 6 Jul 2020 14:11:53 +0200 Subject: updater-ng: remove as latest version is now in HBK --- updater-ng/files/update_alternatives.sh | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 updater-ng/files/update_alternatives.sh (limited to 'updater-ng/files/update_alternatives.sh') diff --git a/updater-ng/files/update_alternatives.sh b/updater-ng/files/update_alternatives.sh deleted file mode 100755 index c93ae45..0000000 --- a/updater-ng/files/update_alternatives.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -set -e - -if [ $# -gt 0 ]; then - echo "This script is part of updater and allows user to manually fix alternative links in system." >&2 - exit 0 -fi - -if [ ! -d /usr/lib/opkg/info ]; then - echo "OPKG info directory not located. This is OpenWrt system, isn't it?" >&2 - exit 1 -fi - -# Fist install all busybox applets and then overwite them with alternatives - -busybox --install /bin - -sed -n 's/^Alternatives://p' /usr/lib/opkg/info/*.control | \ - tr , '\n' | \ - sort -n | \ - while IFS=: read PRIO TRG SRC; do - ln -sf "$SRC" "$TRG" - done -- cgit v1.2.3