File: amd64-libs.postinst

package info (click to toggle)
amd64-libs 1.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 49,132 kB
  • ctags: 3
  • sloc: sh: 174; makefile: 85
file content (18 lines) | stat: -rw-r--r-- 412 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

if [ "$1" = configure ]; then
    if ! grep -q '^/lib64$' /etc/ld.so.conf 2> /dev/null; then
	echo /lib64 >> /etc/ld.so.conf
    fi
    if ! grep -q '^/usr/lib64$' /etc/ld.so.conf 2> /dev/null; then
	echo /usr/lib64 >> /etc/ld.so.conf
    fi
    if ! grep -q '^/usr/X11R6/lib64$' /etc/ld.so.conf 2> /dev/null; then
	echo /usr/X11R6/lib64 >> /etc/ld.so.conf
    fi
    ldconfig
fi

#DEBHELPER#