Chromium Code Reviews| OLD | NEW |
|---|---|
| (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# | |
| OLD | NEW |