aboutsummaryrefslogtreecommitdiffstats
path: root/main/quagga/quagga.post-install
blob: b4bcef1e7bd4d29e7f4e61d4be94cb681ea9cc6a (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# early quaggas had an entry in ld.so.conf. We dont need it anymore
if [ -r /etc/ld.so.conf ]; then
	sed -i -e '/usr\/lib\/quagga/d' /etc/ld.so.conf
	# remove if zero sized
	[ -s /etc/ld.so.conf ] || rm /etc/ld.so.conf
fi
exit 0