etc/rc.d/000.compat4x.sh %%CURRENT_ONLY:%%lib/compat/libc.so.4 %%CURRENT_ONLY:%%@unexec if [ -e %B/libc_r.so.4.compat3x ]; then ln -sf %B/libc_r.so.4.compat3x %B/libc_r.so.4; else rm %B/libc_r.so.4; fi %%CURRENT_ONLY:%%lib/compat/libc_r.so.4.compat4x %%CURRENT_ONLY:%%@exec ln -sf %B/%f %B/libc_r.so.4 lib/compat/libcrypto.so.1 %%I386_ONLY:%%%%CURRENT_ONLY:%%lib/compat/libedit.so.3 lib/compat/libssl.so.1 %%I386_ONLY:%%%%CURRENT_ONLY:%%lib/compat/libperl.so.3 @unexec rmdir %D/lib/compat 2>/dev/null || true