Skip to content

Commit

Permalink
puts msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandademic committed Sep 1, 2021
1 parent 03d0fa0 commit df3d795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/latte.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ def self.downloadLatest
file = IniFile.load("/tmp/#{$query}.ini")
puts 'loaded file'
pkgdata = file['package']
puts 'Release URL:'
puts pkgdata['Release']
zipsupport = pkgdata['Zip']
if zipsupport == true
# TODO: #13 add zipsupport to docs (package-example.ini)
@RURL = pkgdata['Release']
puts 'Running zip downloadd with wget'
system("wget #{@RURL}")
else
@ISC = pkgdata['Isc'] # install command
puts 'running Install command as specified in Pkgfile'
system(@ISC.to_s)
end
end
Expand Down

0 comments on commit df3d795

Please sign in to comment.