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

Side by Side Diff: libmtp.sh

Issue 2345493002: Uprev libmtp to 1.1.12 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libmtp@master
Patch Set: Re-upload cl Created 4 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
« no previous file with comments | « libmtp.pc ('k') | libmtp.pc.in » ('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 # Lifts a plugged in MTP device to user space and 2 # Lifts a plugged in MTP device to user space and
3 # optionally runs a client program. 3 # optionally runs a client program.
4 # Written by Linus Walleij 2006, based on the "usbcam" 4 # Written by Linus Walleij 2006, based on the "usbcam"
5 # script by Nalin Dahyabhai. 5 # script by Nalin Dahyabhai.
6 DEVICEOWNER=root 6 DEVICEOWNER=root
7 DEVICEPERMS=666 7 DEVICEPERMS=666
8 8
9 # Special quirk for SuSE systems using "resmgr" 9 # Special quirk for SuSE systems using "resmgr"
10 # (see http://rechner.lst.de/~okir/resmgr/) 10 # (see http://rechner.lst.de/~okir/resmgr/)
(...skipping 25 matching lines...) Expand all
36 DEVICEPERMS="666" 36 DEVICEPERMS="666"
37 fi 37 fi
38 fi 38 fi
39 if [ -n "$DEVICEOWNER" ] 39 if [ -n "$DEVICEOWNER" ]
40 then 40 then
41 chmod 0000 "${DEVICE}" 41 chmod 0000 "${DEVICE}"
42 chown "${DEVICEOWNER}" "${DEVICE}" 42 chown "${DEVICEOWNER}" "${DEVICE}"
43 chmod "${DEVICEPERMS}" "${DEVICE}" 43 chmod "${DEVICEPERMS}" "${DEVICE}"
44 fi 44 fi
45 fi 45 fi
OLDNEW
« no previous file with comments | « libmtp.pc ('k') | libmtp.pc.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698