~wbetz/fesslix/flxeigen

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Wolfgang Betz
  • Date: 2016-06-17 14:28:23 UTC
  • Revision ID: wolfgang.betz@fesslix.org-20160617142823-ao5x99dj066qkckg
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# Abort if any command returns an error value
 
4
set -e
 
5
 
 
6
#DEBHELPER#
 
7
 
 
8
# This script is called as the last step of the installation of the
 
9
# package.  All the package's files are in place, dpkg has already done
 
10
# its automatic conffile handling, and all the packages we depend of
 
11
# are already fully installed and configured.
 
12
 
 
13
case "$1" in
 
14
  configure)
 
15
 
 
16
    # Update ld.so cache
 
17
    ldconfig
 
18
 
 
19
    # Tell ucf that the file in /usr/share/foo is the latest
 
20
    # maintainer version, and let it handle how to manage the real
 
21
    # confuguration file in /etc. This is how a static configuration
 
22
    # file can be handled:
 
23
    #ucf /usr/share/foo/configuration /etc/foo.conf
 
24
    #ucfr foo /etc/foo.conf
 
25
 
 
26
    ;;
 
27
  *) echo "$0: didn't understand being called with \`$1'" 1>&2
 
28
     exit 0;;
 
29
esac
 
30
 
 
31
exit 0
 
32
 
 
33
echo "Postinst running ..."
 
34
ldconfig
 
35
echo "Ran ldconfig"