diff options
author | mdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-28 18:09:05 +0000 |
---|---|---|
committer | mdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-28 18:09:05 +0000 |
commit | 6e7a326e888615deef8c055785865aed747e50a6 (patch) | |
tree | ccc9d0f535f3907304a102f5d4ddc2d0530cd4eb /chrome | |
parent | 1f458e6927173127e2e70613d6cae1d626da04b7 (diff) | |
download | chromium_src-6e7a326e888615deef8c055785865aed747e50a6.zip chromium_src-6e7a326e888615deef8c055785865aed747e50a6.tar.gz chromium_src-6e7a326e888615deef8c055785865aed747e50a6.tar.bz2 |
Linux: create the directory for the desktop file in the wrapper script if it does not exist.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/244018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27377 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rwxr-xr-x | chrome/tools/build/linux/chrome-wrapper | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/tools/build/linux/chrome-wrapper b/chrome/tools/build/linux/chrome-wrapper index 500d73a..d785a76 100755 --- a/chrome/tools/build/linux/chrome-wrapper +++ b/chrome/tools/build/linux/chrome-wrapper @@ -28,6 +28,7 @@ exists_desktop_file() { # Generate a desktop file that will run this script generate_desktop_file() { apps="${XDG_DATA_HOME:-$HOME/.local/share}/applications" + mkdir -p "$apps" cat > "$apps/$DESKTOP.desktop" << EOF [Desktop Entry] Version=1.0 |