Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Side by Side Diff: chrome_linux64/installer/debian/postrm

Issue 85333005: Update reference builds to Chrome 32.0.1700.19 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/reference_builds/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_linux64/installer/debian/postinst ('k') | chrome_linux64/installer/debian/prerm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # 2 #
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 set -e
8
7 action="$1" 9 action="$1"
8 10
9 # Only do complete clean-up on purge. 11 # Only do complete clean-up on purge.
10 if [ "$action" != "purge" ] ; then 12 if [ "$action" != "purge" ] ; then
11 exit 0 13 exit 0
12 fi 14 fi
13 15
14 @@include@@../common/apt.include 16 @@include@@../common/apt.include
15 17
16 @@include@@../common/symlinks.include 18 @@include@@../common/symlinks.include
17 19
18 remove_udev_symlinks 20 remove_udev_symlinks
19 21
20 # Only remove the defaults file if it is not empty. An empty file was probably 22 # Only remove the defaults file if it is not empty. An empty file was probably
21 # put there by the sysadmin to disable automatic repository configuration, as 23 # put there by the sysadmin to disable automatic repository configuration, as
22 # per the instructions on the package download page. 24 # per the instructions on the package download page.
23 if [ -s "$DEFAULTS_FILE" ]; then 25 if [ -s "$DEFAULTS_FILE" ]; then
24 # Make sure the package defaults are removed before the repository config, 26 # Make sure the package defaults are removed before the repository config,
25 # otherwise it could result in the repository config being removed, but the 27 # otherwise it could result in the repository config being removed, but the
26 # package defaults remain and are set to not recreate the repository config. 28 # package defaults remain and are set to not recreate the repository config.
27 # In that case, future installs won't recreate it and won't get auto-updated. 29 # In that case, future installs won't recreate it and won't get auto-updated.
28 rm "$DEFAULTS_FILE" || exit 1 30 rm "$DEFAULTS_FILE" || exit 1
29 fi 31 fi
30 # Remove any Google repository added by the package. 32 # Remove any Google repository added by the package.
31 clean_sources_lists 33 clean_sources_lists
OLDNEW
« no previous file with comments | « chrome_linux64/installer/debian/postinst ('k') | chrome_linux64/installer/debian/prerm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698