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

Side by Side Diff: third_party/xdg-utils/scripts/xdg-icon-resource.in

Issue 6758016: Update xdg-utils to the latest version available in CVS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 9 years, 8 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
« no previous file with comments | « third_party/xdg-utils/scripts/xdg-icon-resource ('k') | third_party/xdg-utils/scripts/xdg-mime » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 #--------------------------------------------- 2 #---------------------------------------------
3 # xdg-icon-resource 3 # xdg-icon-resource
4 # 4 #
5 # Utility script to install icons on a Linux desktop. 5 # Utility script to install icons on a Linux desktop.
6 # 6 #
7 # Refer to the usage() function below for usage. 7 # Refer to the usage() function below for usage.
8 # 8 #
9 # Copyright 2009-2010, Fathi Boudra <fabo@freedesktop.org>
10 # Copyright 2009-2010, Rex Dieter <rdieter@fedoraproject.org>
9 # Copyright 2006, Kevin Krammer <kevin.krammer@gmx.at> 11 # Copyright 2006, Kevin Krammer <kevin.krammer@gmx.at>
10 # Copyright 2006, Jeremy White <jwhite@codeweavers.com> 12 # Copyright 2006, Jeremy White <jwhite@codeweavers.com>
11 # 13 #
12 # LICENSE: 14 # LICENSE:
13 # 15 #
14 #--------------------------------------------- 16 #---------------------------------------------
15 17
16 manualpage() 18 manualpage()
17 { 19 {
18 cat << _MANUALPAGE 20 cat << _MANUALPAGE
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 if [ x"$update" = x"yes" ] ; then 441 if [ x"$update" = x"yes" ] ; then
440 update_icon_database "$xdg_base_dir" 442 update_icon_database "$xdg_base_dir"
441 if [ -n "$dot_icon_dir" ] ; then 443 if [ -n "$dot_icon_dir" ] ; then
442 if [ -d "$dot_icon_dir/" -a ! -L "$dot_icon_dir" ] ; then 444 if [ -d "$dot_icon_dir/" -a ! -L "$dot_icon_dir" ] ; then
443 update_icon_database $dot_base_dir 445 update_icon_database $dot_base_dir
444 fi 446 fi
445 fi 447 fi
446 fi 448 fi
447 449
448 exit_success 450 exit_success
OLDNEW
« no previous file with comments | « third_party/xdg-utils/scripts/xdg-icon-resource ('k') | third_party/xdg-utils/scripts/xdg-mime » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698