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
00b6d405
Commit
00b6d405
authored
Jun 29, 2017
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add dropbox_uploader package
parent
1c4c6d79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
packages/dropbox_uploader.rb
packages/dropbox_uploader.rb
+22
-0
No files found.
packages/dropbox_uploader.rb
0 → 100644
View file @
00b6d405
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'
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