From 4618f5695b7bd00c07d656e965db11b31f0d8b36 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 22 Feb 2019 22:51:35 -0600 Subject: {system => legacy}/busybox: fucking inflatable fucking busybox --- legacy/busybox/busybox.pre-deinstall | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 legacy/busybox/busybox.pre-deinstall (limited to 'legacy/busybox/busybox.pre-deinstall') diff --git a/legacy/busybox/busybox.pre-deinstall b/legacy/busybox/busybox.pre-deinstall new file mode 100644 index 000000000..f1e10ba92 --- /dev/null +++ b/legacy/busybox/busybox.pre-deinstall @@ -0,0 +1,9 @@ +#!/bin/sh + +# Remove all symlinks to busybox +cd / +for link in $(busybox --list-full); do + if [ -L "$link" ] && [ "$(readlink $link)" = "/bin/busybox" ]; then + rm "$link" + fi +done -- cgit v1.2.3-70-g09d2