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

Side by Side Diff: src/package_scripts/flashplugin-installer.postinst

Issue 555027: Maintainer script for flash ++ (Closed)
Patch Set: Make a proper plugins directory for chrome Created 10 years, 11 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
« no previous file with comments | « no previous file | src/package_scripts/package.whitelist » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # Copyright (c) 2010 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 # flashplugin-installer.postinst
8
9 set -e
10
11 case "$ARCH" in
12 x86)
13 VERSION="10.0.32.18"
14 FILENAME="adobe-flashplugin_${VERSION}.orig.tar.gz"
15 CHECKSUM="859058c0085671c8e822a083cf7ca03ac3e0dea6"
16 URL="http://archive.canonical.com/pool/partner/a/adobe-flashplugin/"
17 ;;
18 # todo
19 # armel)
20 # ;;
21 *)
22 echo "Unknown architecture for flashplugin"
23 exit 1
24 ;;
25 esac
26
27 if [ ! -d "${SRC_ROOT}/build/${ARCH}/local_assets/" ]; then
28 mkdir -p "${SRC_ROOT}/build/${ARCH}/local_assets/"
29 fi
30
31 cd "${SRC_ROOT}/build/${ARCH}/local_assets/"
32
33 if [ ! -f "adobe-flashplugin-${VERSION}.orig/libflashplayer.so" ]; then
34 rm ${FILENAME} 2>/dev/null || true
35 wget "${URL}/${FILENAME}"
36 echo "${CHECKSUM} ${FILENAME}" | sha1sum -c
37 tar xzf $FILENAME
38 fi
39
40 install -m 644 "adobe-flashplugin-${VERSION}.orig/libflashplayer.so" \
41 "${ROOT}/usr/lib/flashplugin-installer/"
OLDNEW
« no previous file with comments | « no previous file | src/package_scripts/package.whitelist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698