~samantha-jian/opencompute/dcmitool

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Samantha Jian-Pielak
  • Date: 2013-08-05 15:41:33 UTC
  • Revision ID: samantha.jian-pielak@canonical.com-20130805154133-cfaa3gd403vadd11
Tags: upstream-2.00.05.000
ImportĀ upstreamĀ versionĀ 2.00.05.000

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
# postinst script for dcmitool
3
 
#
4
 
# see: dh_installdeb(1)
5
 
 
6
 
set -e
7
 
 
8
 
case "$1" in
9
 
    configure)
10
 
        # rename libcrypto.so to libcrypto.so.6
11
 
        if test -e /usr/lib/x86_64-linux-gnu/libcrypto.so; then
12
 
            echo "renaming libcrypto.so to libcrypto.so.6"
13
 
            mv /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/lib/x86_64-linux-gnu/libcrypto.so.6
14
 
        fi
15
 
    ;;
16
 
 
17
 
    abort-upgrade|abort-remove|abort-deconfigure)
18
 
    ;;
19
 
 
20
 
    *)
21
 
        echo "postinst called with unknown argument \`$1'" >&2
22
 
        exit 1
23
 
    ;;
24
 
esac
25
 
 
26
 
# dh_installdeb will replace this with shell code automatically
27
 
# generated by other debhelper scripts.
28
 
 
29
 
#DEBHELPER#
30
 
 
31
 
exit 0