summaryrefslogblamecommitdiff
path: root/system/busybox/busybox-extras.pre-deinstall
blob: 5ae91ccbc22446bc1822c138317331dbd53f21d4 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                       
                                             



                                                                                  
#!/bin/sh

# Remove all symlinks to busybox-extras
cd /
for link in $(busybox-extras --list-full); do
	if [ -L "$link" ] && [ "$(readlink $link)" = "/bin/busybox-extras" ]; then
		rm "$link"
	fi
done