summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libjpeg6/libjpeg6.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-10-05 00:08:33 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-10-05 00:08:33 (GMT)
commit1cd1dc90dccbf25e7651eee163b2f3c205e91f06 (patch)
tree9e4e3d550380cb37c0f0c36e59e249b2e506a387 /abs/core-testing/libjpeg6/libjpeg6.install
parent567f8991a2ed30960bfdea9eed6bee9f8ba2de57 (diff)
downloadlinhes_pkgbuild-1cd1dc90dccbf25e7651eee163b2f3c205e91f06.zip
linhes_pkgbuild-1cd1dc90dccbf25e7651eee163b2f3c205e91f06.tar.gz
linhes_pkgbuild-1cd1dc90dccbf25e7651eee163b2f3c205e91f06.tar.bz2
libjpeg6:fixed typo. Added symlink.
Diffstat (limited to 'abs/core-testing/libjpeg6/libjpeg6.install')
-rw-r--r--abs/core-testing/libjpeg6/libjpeg6.install6
1 files changed, 4 insertions, 2 deletions
diff --git a/abs/core-testing/libjpeg6/libjpeg6.install b/abs/core-testing/libjpeg6/libjpeg6.install
index dfb8ede..9ad4afe 100644
--- a/abs/core-testing/libjpeg6/libjpeg6.install
+++ b/abs/core-testing/libjpeg6/libjpeg6.install
@@ -1,23 +1,25 @@
# arg 1: the new package version
post_install() {
- if qrep -q libjpeg6 /etc/ld.so.conf
+ if grep -q libjpeg6 /etc/ld.so.conf
then
exit
else
echo "/opt/libjpeg6/include" >> /etc/ld.so.conf
ldconfig
fi
+ ln -s /opt/libjpeg6/lib/libjpeg.so.62 /usr/lib/libjpeg.so.62
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
- if qrep -q libjpeg6 /etc/ld.so.conf
+ if grep -q libjpeg6 /etc/ld.so.conf
then
exit
else
echo "/opt/libjpeg6/include" >> /etc/ld.so.conf
ldconfig
fi
+ ln -sf /opt/libjpeg6/lib/libjpeg.so.62 /usr/lib/libjpeg.so.62
}
# arg 1: the old package version
post_remove() {