Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated modules URL

  • Loading branch information...
commit 480ae1e26d166adc393e7761a638d84e00e7f096 1 parent f787729
Tomás Pollak tomas authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  core/setup
  2. +2 −2 core/updater
2  core/setup
View
@@ -113,7 +113,7 @@ set_constants(){
readonly logged_user
readonly control_panel_url="https://control.preyproject.com" 2> /dev/null
- modules_url=$control_panel_url 2> /dev/null
+ modules_url="http://cloud.github.com/downloads/prey/prey-bash-client-modules" 2> /dev/null
updates_url="http://cloud.github.com/downloads/prey/prey-bash-client" 2> /dev/null
}
4 core/updater
View
@@ -348,8 +348,8 @@ restore_config(){
####################################################################
get_module(){
- rm "$module_file" 2> /dev/null
- getter -u $api_key:x "$modules_url/modules/$1.zip" -o "$module_file" 2> /dev/null
+ rm -f "$module_file" 2> /dev/null
+ getter "${modules_url}/$1.zip" -o "$module_file" 2> /dev/null
}
install_or_update_module(){
Please sign in to comment.
Something went wrong with that request. Please try again.