diff options
author | Karel Kočí <cynerd@email.cz> | 2020-07-24 10:06:56 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-07-24 10:06:56 +0200 |
commit | 6acf1abf2f406fd687c51542e55ba692b6208493 (patch) | |
tree | af42ce11ba9867f869e59ec538d9361961d86cdf /base64c/files/update_alternatives.sh | |
parent | 3546c4c68eb0c7e0955015977c83833dc3447f25 (diff) | |
download | openwrt-personal-pkgs-6acf1abf2f406fd687c51542e55ba692b6208493.tar.gz openwrt-personal-pkgs-6acf1abf2f406fd687c51542e55ba692b6208493.tar.bz2 openwrt-personal-pkgs-6acf1abf2f406fd687c51542e55ba692b6208493.zip |
base64c: base64c really does not need updater's files
Diffstat (limited to 'base64c/files/update_alternatives.sh')
-rwxr-xr-x | base64c/files/update_alternatives.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/base64c/files/update_alternatives.sh b/base64c/files/update_alternatives.sh deleted file mode 100755 index c93ae45..0000000 --- a/base64c/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 |