mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
libraries/ocaml-findlib: Fixed doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
c44f0fd758
commit
2ccb7ba626
1 changed files with 4 additions and 4 deletions
|
@ -10,8 +10,8 @@ config() {
|
|||
}
|
||||
config etc/findlib.conf
|
||||
|
||||
destdir=$(ocamlfind printconf destdir)/stublibs
|
||||
ldconf=$(ocamlfind printconf ldconf)
|
||||
if ! grep -q $destdir $ldconf; then
|
||||
echo $destdir >> $ldconf
|
||||
destdir=$(chroot . /usr/bin/ocamlfind printconf destdir)/stublibs
|
||||
ldconf=$(chroot . /usr/bin/ocamlfind printconf ldconf)
|
||||
if ! grep -q -s "${destdir##/}" "$ldconf"; then
|
||||
echo "$destdir" >> "${ldconf##/}"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue