~samantha-jian/opencompute/dcmitool

« back to all changes in this revision

Viewing changes to debian/prerm

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