blob: 8a60e558c3b80f740f532bd52f5c8fc4f2eeab82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
if [ "$2" = "POST-INSTALL" ]; then
grep -q /usr/X11R6/lib %%LINUXBASE%%/etc/ld.so.conf
if [ $? -eq 0 ]; then
%%LINUXBASE%%/sbin/ldconfig
else
echo '*************************'
echo 'WARNING: You do not have /usr/X11R6/lib in %%LINUXBASE%%/etc/ld.so.conf (probably because you do not use the default linux_base port and those non-default linux_base ports have a bug in this regard), please add it and run %%LINUXBASE%%/sbin/ldconfig as root to be able to use applications which make use of the linux X11 port.' | fmt
echo '*************************'
fi
fi
|