OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 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 | 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 # Create a symlink to external_extensions.json to allow autotests | 7 # Create a symlink to external_extensions.json to allow autotests |
8 # to launch a packaged extension at login. | 8 # to launch a packaged extension at login. |
9 | 9 |
10 echo "Creating external_extensions.json symlink" | 10 echo "Creating external_extensions.json symlink" |
11 LINK_TARGET="/home/autotest/tests/external_extensions.json" | 11 LINK_TARGET="/usr/local/autotest/tests/external_extensions.json" |
12 EXT_DIR="${ROOT_FS_DIR}/opt/google/chrome/extensions" | 12 EXT_DIR="${ROOT_FS_DIR}/opt/google/chrome/extensions" |
13 FILE="${EXT_DIR}/external_extensions.json" | 13 FILE="${EXT_DIR}/external_extensions.json" |
14 mkdir -p $EXT_DIR | 14 mkdir -p $EXT_DIR |
15 ln -sf $LINK_TARGET $FILE | 15 ln -sf $LINK_TARGET $FILE |
OLD | NEW |