-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,6 @@ | ||
#!/usr/bin/ruby | ||
if !File.exist?("/usr/local") | ||
puts "Please enter your password to allow the installer to make changes." | ||
system "sudo mkdir /usr/local" | ||
command = "sudo cp " | ||
elsif !File.writable_real?("/usr/local") | ||
puts "Please enter your password to allow the installer to make changes." | ||
command = "sudo cp " | ||
else | ||
command = "cp " | ||
end | ||
|
||
pwd = File.expand_path File.join(__FILE__, "..") | ||
|
||
%w[barcodeinterpret blackatends checksumpackage fix_left2stereo fix_rewrap fix_volume ingestfile ingestfile makebroadcast makedvd makeframes makelossless makemetadata makepodcast makeprores makeyoutube mmconfig mmfunctions mmhelp paperingest quickcompare removeDSStore uploadomneon xdcamingest].each do |file| | ||
system command+'"'+pwd+'/'+file+'"'+" /usr/local/bin" | ||
end | ||
puts | ||
puts "Microservices have been installed. Please close this window." | ||
#!/bin/bash | ||
|
||
for script in barcodeinterpret blackatends checksumpackage fix_left2stereo fix_rewrap fix_volume ingestfile ingestfile makebroadcast makedvd makeframes makelossless makemetadata makepodcast makeprores makeyoutube mmconfig mmfunctions mmhelp paperingest quickcompare removeDSStore uploadomneon xdcamingest ; do | ||
cp -v "$script" /usr/local/bin/ | ||
done | ||
echo "Microservices have been installed. Please close this window." |