blob: 76989c2a903fd20394c140bc2490e58c190ad848 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
post_install() {
ldconfig
update_makefile_conf_path
echo
echo 'Please relogin for the changes to $OSL_HOME environment variable to take effect.'
}
post_upgrade() {
ldconfig
update_makefile_conf_path
}
update_makefile_conf_path() {
sed --in-place \
-e 's!\$(OSL_HOME)/core/osl\(.*\).1.0$!/usr/lib\1!' \
-e 's!\$(OSL_HOME)/std/osl\(.*\).1.0$!/usr/lib\1!' \
-e 's!\$(OSL_HOME)/full/osl\(.*\).1.0$!/usr/lib\1!' \
/usr/share/osl/makefile.conf
}
# vim:set ts=2 sw=2 et:
|