OLD | NEW |
| (Empty) |
1 #!/bin/sh | |
2 | |
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | |
4 # Use of this source code is governed by a BSD-style license that can be | |
5 # found in the LICENSE file. | |
6 | |
7 # preinst script for chromeos-theme | |
8 # | |
9 # see: dh_installdeb(1) | |
10 | |
11 set -e | |
12 | |
13 # summary of how this script can be called: | |
14 # * <new-preinst> `install' | |
15 # * <new-preinst> `install' <old-version> | |
16 # * <new-preinst> `upgrade' <old-version> | |
17 # * <old-preinst> `abort-upgrade' <new-version> | |
18 # for details, see http://www.debian.org/doc/debian-policy/ or | |
19 # the debian-policy package | |
20 | |
21 | |
22 case "$1" in | |
23 install|upgrade) | |
24 ;; | |
25 | |
26 abort-upgrade) | |
27 ;; | |
28 | |
29 *) | |
30 echo "preinst called with unknown argument \`$1'" >&2 | |
31 exit 1 | |
32 ;; | |
33 esac | |
34 | |
35 # dh_installdeb will replace this with shell code automatically | |
36 # generated by other debhelper scripts. | |
37 | |
38 #DEBHELPER# | |
39 | |
40 exit 0 | |
OLD | NEW |