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

Side by Side Diff: remoting/host/installer/linux/debian/preinst

Issue 10860024: Handle updates to the wrapper script. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed typo and removed debugging. Created 8 years, 4 months 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
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # Copyright (c) 2012 The Chromium 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 set -e
8
9 VAR_DIR="/var/lib/chrome-remote-desktop"
10 HASHES_FILE="$VAR_DIR/hashes"
11
12 save_hash() {
13 if [ -f "$1" ]; then
14 mkdir -p "$VAR_DIR"
15 md5sum "$1" >> "$HASHES_FILE"
16 fi
17 }
18
19 case "$1" in
20 "install" | "upgrade")
21 rm -f "$HASHES_FILE"
22 save_hash /usr/bin/me2me_virtual_host
Lambros 2012/08/18 00:06:50 Should save_hash() the Python modules (keygen.py,
Jamie 2012/08/20 19:46:05 I considered that, but since they're only used whe
23 ;;
24 esac
25
26 #DEBHELPER#
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698