diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-02-01 14:11:54 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-02-01 14:11:54 +0400 |
commit | b9e27effb6a024a18814912c977d39ec5375cecc (patch) | |
tree | 058c5d532422c7f7c57c01ac6247de8f9c96f9c5 /libc/debian/libc1.postinst | |
parent | 1c128ef13e8301223b271514121be8ad1b2b30c1 (diff) | |
download | illumos-packaging-b9e27effb6a024a18814912c977d39ec5375cecc.tar.gz |
Moved libc stuff into subdirectory for faster build
Diffstat (limited to 'libc/debian/libc1.postinst')
-rw-r--r-- | libc/debian/libc1.postinst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libc/debian/libc1.postinst b/libc/debian/libc1.postinst new file mode 100644 index 0000000..c19f941 --- /dev/null +++ b/libc/debian/libc1.postinst @@ -0,0 +1,17 @@ +#!/sbin/sh + +if [ "$1" = configure ]; then + + if [ ! -e /var/ld/64/ld.config ]; then + echo "Creating default /var/ld/64/ld.config for 64-bit arch" + cp /usr/lib/ld/64/ld.config /var/ld/64/ld.config + fi + if [ ! -e /var/ld/ld.config ]; then + echo "Creating default /var/ld/ld.config for 32-bit arch" + cp /usr/lib/ld/ld.config /var/ld/ld.config + fi + +fi + +#DEBHELPER# + |