Skip to content

Commit

Permalink
update for personal + work dropboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfallshaw committed May 24, 2015
1 parent 1224573 commit 67b2df9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clear-dropbox-conflicted-files
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby

if File.directory?("/Volumes/Internal/Dropbox")
DROPBOX = "/Volumes/Internal/Dropbox"
elsif File.directory?(File.expand_path("~/Dropbox"))
DROPBOX = File.expand_path("~/Dropbox")
if File.directory?("/Volumes/Internal/Dropbox*")
DROPBOX = "/Volumes/Internal/Dropbox*"
elsif File.directory?(File.expand_path("~/Dropbox*"))
DROPBOX = File.expand_path("~/Dropbox*")
else
raise "Can't find your Dropbox folder, sorry."
end
Expand Down

0 comments on commit 67b2df9

Please sign in to comment.