diff options
author | amagura | 2017-04-20 18:09:46 -0600 |
---|---|---|
committer | amagura | 2017-04-20 18:09:46 -0600 |
commit | 8b5d8413966eca2e178f9cece63d2a015afd03a2 (patch) | |
tree | c15c2e9cd49e3b3ef1b5d72e13312cd577c868e4 | |
parent | d5a38f220cd6018479d9a066cb05adcf6d138217 (diff) | |
download | aur-8b5d8413966eca2e178f9cece63d2a015afd03a2.tar.gz |
fixing le logic
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Thu Jan 19 02:49:13 UTC 2017 +# Fri Apr 21 00:09:40 UTC 2017 pkgbase = libtinfo pkgdesc = symlink to ncurses for use in cuda and other packages pkgver = 6 @@ -19,8 +19,13 @@ package() { ln -s /usr/lib/libncursesw.so."$_ncurses" "$pkgdir"/usr/lib/libtinfo.so."$pkgver" ln -s /usr/lib/libtinfo.so."$pkgver" "$pkgdir"/usr/lib/libtinfo.so - if ((_libtinfo5)); then + msg "Is libtinfo5 present..." + + if ! ((_libtinfo5)); then + msg "\tyes" ln -s /usr/lib/libncurses.so.5 "$pkgdir"/usr/lib/libtinfo.so.5 + else + msg "\tno" fi } |