Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
d6406b46
Commit
d6406b46
authored
Jul 13, 2017
by
Damian Montero
Committed by
GitHub
Jul 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #831 from uberhacker/add-dropbox_uploader-package
Add dropbox_uploader package
parents
5e06b6e7
054a53c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
packages/dropbox_uploader.rb
packages/dropbox_uploader.rb
+24
-0
No files found.
packages/dropbox_uploader.rb
0 → 100644
View file @
d6406b46
require
'package'
class
Dropbox_uploader
<
Package
description
'Dropbox Uploader is a BASH script which can be used to upload, download, list or delete files from Dropbox, an online file sharing, synchronization and backup service.'
homepage
'https://github.com/andreafabrizi/Dropbox-Uploader'
version
'1.0'
source_url
'https://github.com/andreafabrizi/Dropbox-Uploader/archive/1.0.tar.gz'
source_sha256
'8c9be8bd38fb3b0f0b4d1a863132ad38c8299ac62ecfbd1e818addf32b48d84c'
depends_on
'curl'
def
self
.
install
system
"sed -i 's,dropbox_uploader.sh,dropbox_uploader,g' dropShell.sh"
system
"chmod +x dropShell.sh"
system
"chmod +x dropbox_uploader.sh"
system
"mkdir -p
#{
CREW_DEST_DIR
}
/usr/local/bin"
system
"cp dropShell.sh
#{
CREW_DEST_DIR
}
/usr/local/bin/dropshell"
system
"cp dropbox_uploader.sh
#{
CREW_DEST_DIR
}
/usr/local/bin/dropbox_uploader"
puts
""
puts
"Type 'dropbox_uploader' and follow the instructions to finish the installation."
.
lightblue
puts
"To execute The Interactive Dropbox SHELL, type 'dropshell'."
.
lightblue
puts
""
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment