source: lliurex-artwork-plymouth/trunk/fuentes/debian/lliurex-artwork-plymouth-aula.postinst @ 67

Last change on this file since 67 was 67, checked in by daduve, 4 years ago

Adding files

  • Property svn:executable set to *
File size: 966 bytes
Line 
1#!/bin/sh -e
2# This script can be called in the following ways:
3#
4# After the package was installed:
5#       <postinst> configure <old-version>
6#
7#
8# If prerm fails during upgrade or fails on failed upgrade:
9#       <old-postinst> abort-upgrade <new-version>
10#
11# If prerm fails during deconfiguration of a package:
12#       <postinst> abort-deconfigure in-favour <new-package> <version>
13#                  removing <old-package> <version>
14#
15# If prerm fails during replacement due to conflict:
16#       <postinst> abort-remove in-favour <new-package> <version>
17
18
19case "$1" in
20    configure)
21       
22        update-alternatives \
23                --install /lib/plymouth/themes/default.plymouth default.plymouth \
24                /lib/plymouth/themes/future-blue/future-blue.plymouth 650
25
26        if which update-initramfs >/dev/null 2>&1
27        then
28            update-initramfs -u
29        fi
30        ;;
31
32    abort-upgrade|abort-deconfigure|abort-remove)
33        ;;
34
35    *)
36        echo "$0 called with unknown argument \`$1'" 1>&2
37        exit 1
38        ;;
39esac
40
41
42exit 0
Note: See TracBrowser for help on using the repository browser.