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

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

Issue 3273010: Update our copy of xdg-utils to 2010-08-30, and include a patched xdg-mime. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 10 years, 3 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
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 #--------------------------------------------- 2 #---------------------------------------------
3 # xdg-su 3 # xdg-su
4 # 4 #
5 # Utility script to run a command as an alternate user, generally 5 # Utility script to run a command as an alternate user, generally
6 # the root user, with a graphical prompt for the root 6 # the root user, with a graphical prompt for the root
7 # password if needed 7 # password if needed
8 # 8 #
9 # Refer to the usage() function below for usage. 9 # Refer to the usage() function below for usage.
10 # 10 #
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 gnome) 147 gnome)
148 su_gnome 148 su_gnome
149 ;; 149 ;;
150 150
151 generic) 151 generic)
152 su_generic 152 su_generic
153 ;; 153 ;;
154 154
155 *) 155 *)
156 [ x"$user" = x"" ] && user=root 156 [ x"$user" = x"" ] && user=root
157 exit_failure_operation_impossible "no graphical method available for invokin g '$cmd' as '$user'" 157 exit_failure_operation_impossible "no graphical method available for invokin g '$cmd' as '$user'"
158 ;; 158 ;;
159 esac 159 esac
OLDNEW
« no previous file with comments | « third_party/xdg-utils/scripts/xdg-settings.in ('k') | third_party/xdg-utils/scripts/xdg-utils-common.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698