aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jruby/jruby.post-install
blob: 8b2e94b06fb95d9f1c1fd6b2d92cc0f56d48625d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# TODO: Remove after merging musl-1.1.14-r8 into stable branch.

if [ ! -e /usr/lib/libcrypt.so* ]; then
	cat <<-EOF 1>&2
	* Symlink /usr/lib/libcrypt.so* does not exist, you probably use older
	* revision of lib6-compat package. Since it's necessary for JRuby to work
	* correctly, it'll be created now.
	EOF

	ln -s /usr/lib/libc.so /usr/lib/libcrypt.so.1
fi